Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Viewer 2 llSetPrimMediaParams  

llSetPrimMediaParams

llSetPrimMediaParams

Category: Viewer 2
By : Kelly Linden
Created: 2010-09-02 Edited: 2010-09-02
Worlds: Second Life

the Zip file

Download all files for llSetPrimMediaParams
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. llSetPrimMediaParams_1.lsl
1
2 default
3 {
5 {
6 llSetPrimMediaParams(0, // Side to display the media on.
7 [PRIM_MEDIA_AUTO_PLAY,TRUE, // Show this page immediately
8 PRIM_MEDIA_CURRENT_URL,"http://google.com", // The url currently showing
9 PRIM_MEDIA_HOME_URL,"http://google.com", // The url if they hit 'home'
10 PRIM_MEDIA_HEIGHT_PIXELS,512, // Height/width of media texture will be
11 PRIM_MEDIA_WIDTH_PIXELS,512]); // rounded up to nearest power of 2.
12 }
13 }

Back to the Best Free Tools in Second Life and OpenSim.