Difference between revisions of "Template:LSL Constants/Parcel Media"

From Second Life Wiki
Jump to navigation Jump to search
m (template reduction)
Line 7: Line 7:
{{!}}-
{{!}}-
{{#ifeq:{{{1|all}}}|query||{{!}}0
{{#ifeq:{{{1|all}}}|query||{{!}}0
{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_STOP}}
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_STOP]]
{{!}}Stop the media stream and go back to the first frame.
{{!}}Stop the media stream and go back to the first frame.
{{!}}-
{{!}}-
{{!}}1
{{!}}1
{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_PAUSE}}
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_PAUSE]]
{{!}}Pause the media stream (stop playing but stay on current frame).
{{!}}Pause the media stream (stop playing but stay on current frame).
{{!}}-
{{!}}-
{{!}}2
{{!}}2
{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_PLAY}}
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_PLAY]]
{{!}}Start the media stream playing from the current frame and stop when the end is reached.
{{!}}Start the media stream playing from the current frame and stop when the end is reached.
{{!}}-
{{!}}-
{{!}}3
{{!}}3
{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_LOOP}}
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_LOOP]]
{{!}}Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue. }}
{{!}}Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue. }}
{{!}}-
{{!}}-
{{!}}4
{{!}}4
{{!}}{{LSLG|PARCEL_MEDIA_COMMAND_TEXTURE}}
{{!}}[[PARCEL_MEDIA_COMMAND_TEXTURE]]
{{!}}[[key]] uuid
{{!}}[[key]] uuid
{{!}}Use this to get or set the parcel's media texture.  
{{!}}Use this to get or set the parcel's media texture.  
{{!}}-
{{!}}-
{{!}}5
{{!}}5
{{!}}{{LSLG|PARCEL_MEDIA_COMMAND_URL}}
{{!}}[[PARCEL_MEDIA_COMMAND_URL]]
{{!}}[[string]] url
{{!}}[[string]] url
{{!}}Used to get or set the parcel's media url.  
{{!}}Used to get or set the parcel's media url.  
{{!}}-
{{!}}-
{{#ifeq:{{{1|all}}}|query||{{!}}6
{{#ifeq:{{{1|all}}}|query||{{!}}6
{{!}}{{LSLG|PARCEL_MEDIA_COMMAND_TIME}}
{{!}}[[PARCEL_MEDIA_COMMAND_TIME]]
{{!}}[[float]] time
{{!}}[[float]] time
{{!}}Move a media stream to a specific time.  
{{!}}Move a media stream to a specific time.  
{{!}}-
{{!}}-
{{!}}7
{{!}}7
{{!}}{{LSLG|PARCEL_MEDIA_COMMAND_AGENT}}
{{!}}[[PARCEL_MEDIA_COMMAND_AGENT]]
{{!}}[[key]] uuid
{{!}}[[key]] uuid
{{!}}Applies the media command to the specified agent only.  
{{!}}Applies the media command to the specified agent only.  
{{!}}-
{{!}}-
{{!}}8
{{!}}8
{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_UNLOAD}}
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_UNLOAD]]
{{!}}Completely unloads the movie and restores the original texture.  
{{!}}Completely unloads the movie and restores the original texture.  
{{!}}-
{{!}}-
{{!}}9
{{!}}9
{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_AUTO_ALIGN}}
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_AUTO_ALIGN]]
{{!}}Sets the parcel option 'Auto scale content'.}}
{{!}}Sets the parcel option 'Auto scale content'.}}
{{!}}}<noinclude>{{{{FULLPAGENAME}}|query|Return}}{{{{FULLPAGENAME}}|all}}</noinclude>
{{!}}}<noinclude>{{{{FULLPAGENAME}}|query|Return}}{{{{FULLPAGENAME}}|all}}</noinclude>

Revision as of 09:15, 22 July 2007

Constant Parameter Description
0 PARCEL_MEDIA_COMMAND_STOP Stop the media stream and go back to the first frame.
1 PARCEL_MEDIA_COMMAND_PAUSE Pause the media stream (stop playing but stay on current frame).
2 PARCEL_MEDIA_COMMAND_PLAY Start the media stream playing from the current frame and stop when the end is reached.
3 PARCEL_MEDIA_COMMAND_LOOP Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue.
4 PARCEL_MEDIA_COMMAND_TEXTURE key uuid Use this to get or set the parcel's media texture.
5 PARCEL_MEDIA_COMMAND_URL string url Used to get or set the parcel's media url.
6 PARCEL_MEDIA_COMMAND_TIME float time Move a media stream to a specific time.
7 PARCEL_MEDIA_COMMAND_AGENT key uuid Applies the media command to the specified agent only.
8 PARCEL_MEDIA_COMMAND_UNLOAD Completely unloads the movie and restores the original texture.
9 PARCEL_MEDIA_COMMAND_AUTO_ALIGN Sets the parcel option 'Auto scale content'.
Constant Return Description
4 PARCEL_MEDIA_COMMAND_TEXTURE key uuid Use this to get or set the parcel's media texture.
5 PARCEL_MEDIA_COMMAND_URL string url Used to get or set the parcel's media url.
Constant Parameter Description
0 PARCEL_MEDIA_COMMAND_STOP Stop the media stream and go back to the first frame.
1 PARCEL_MEDIA_COMMAND_PAUSE Pause the media stream (stop playing but stay on current frame).
2 PARCEL_MEDIA_COMMAND_PLAY Start the media stream playing from the current frame and stop when the end is reached.
3 PARCEL_MEDIA_COMMAND_LOOP Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue.
4 PARCEL_MEDIA_COMMAND_TEXTURE key uuid Use this to get or set the parcel's media texture.
5 PARCEL_MEDIA_COMMAND_URL string url Used to get or set the parcel's media url.
6 PARCEL_MEDIA_COMMAND_TIME float time Move a media stream to a specific time.
7 PARCEL_MEDIA_COMMAND_AGENT key uuid Applies the media command to the specified agent only.
8 PARCEL_MEDIA_COMMAND_UNLOAD Completely unloads the movie and restores the original texture.
9 PARCEL_MEDIA_COMMAND_AUTO_ALIGN Sets the parcel option 'Auto scale content'.