diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index d7cd027..25c0d9a 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -5704,12 +5704,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5704 | 5704 | ||
5705 | LSL_Types.list l = new LSL_Types.list(); | 5705 | LSL_Types.list l = new LSL_Types.list(); |
5706 | ScenePresence av = World.GetScenePresence(id); | 5706 | ScenePresence av = World.GetScenePresence(id); |
5707 | if( av == null ) | 5707 | if (av == null) |
5708 | return l; | 5708 | return l; |
5709 | LLUUID[] anims; | 5709 | LLUUID[] anims; |
5710 | anims = av.GetAnimationArray(); | 5710 | anims = av.GetAnimationArray(); |
5711 | foreach( LLUUID foo in anims ) | 5711 | foreach (LLUUID foo in anims) |
5712 | l.Add( foo.ToString() ); | 5712 | l.Add(foo.ToString()); |
5713 | return l; | 5713 | return l; |
5714 | } | 5714 | } |
5715 | 5715 | ||
@@ -6813,20 +6813,20 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6813 | public void llParcelMediaCommandList(LSL_Types.list commandList) | 6813 | public void llParcelMediaCommandList(LSL_Types.list commandList) |
6814 | { | 6814 | { |
6815 | //TO DO: Implement the missing commands | 6815 | //TO DO: Implement the missing commands |
6816 | //PARCEL_MEDIA_COMMAND_STOP Stop the media stream and go back to the first frame. | 6816 | //PARCEL_MEDIA_COMMAND_STOP Stop the media stream and go back to the first frame. |
6817 | //PARCEL_MEDIA_COMMAND_PAUSE Pause the media stream (stop playing but stay on current frame). | 6817 | //PARCEL_MEDIA_COMMAND_PAUSE Pause the media stream (stop playing but stay on current frame). |
6818 | //PARCEL_MEDIA_COMMAND_PLAY Start the media stream playing from the current frame and stop when the end is reached. | 6818 | //PARCEL_MEDIA_COMMAND_PLAY Start the media stream playing from the current frame and stop when the end is reached. |
6819 | //PARCEL_MEDIA_COMMAND_LOOP Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue. | 6819 | //PARCEL_MEDIA_COMMAND_LOOP Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue. |
6820 | //PARCEL_MEDIA_COMMAND_TEXTURE key uuid Use this to get or set the parcel's media texture. | 6820 | //PARCEL_MEDIA_COMMAND_TEXTURE key uuid Use this to get or set the parcel's media texture. |
6821 | //PARCEL_MEDIA_COMMAND_URL string url Used to get or set the parcel's media url. | 6821 | //PARCEL_MEDIA_COMMAND_URL string url Used to get or set the parcel's media url. |
6822 | //PARCEL_MEDIA_COMMAND_TIME float time Move a media stream to a specific time. | 6822 | //PARCEL_MEDIA_COMMAND_TIME float time Move a media stream to a specific time. |
6823 | //PARCEL_MEDIA_COMMAND_AGENT key uuid Applies the media command to the specified agent only. | 6823 | //PARCEL_MEDIA_COMMAND_AGENT key uuid Applies the media command to the specified agent only. |
6824 | //PARCEL_MEDIA_COMMAND_UNLOAD Completely unloads the movie and restores the original texture. | 6824 | //PARCEL_MEDIA_COMMAND_UNLOAD Completely unloads the movie and restores the original texture. |
6825 | //PARCEL_MEDIA_COMMAND_AUTO_ALIGN integer boolean Sets the parcel option 'Auto scale content'. | 6825 | //PARCEL_MEDIA_COMMAND_AUTO_ALIGN integer boolean Sets the parcel option 'Auto scale content'. |
6826 | //PARCEL_MEDIA_COMMAND_TYPE string mime_type Use this to get or set the parcel media MIME type (e.g. "text/html"). (1.19.1 RC0 or later) | 6826 | //PARCEL_MEDIA_COMMAND_TYPE string mime_type Use this to get or set the parcel media MIME type (e.g. "text/html"). (1.19.1 RC0 or later) |
6827 | //PARCEL_MEDIA_COMMAND_SIZE integer x, integer y Use this to get or set the parcel media pixel resolution. (1.19.1 RC0 or later) | 6827 | //PARCEL_MEDIA_COMMAND_SIZE integer x, integer y Use this to get or set the parcel media pixel resolution. (1.19.1 RC0 or later) |
6828 | //PARCEL_MEDIA_COMMAND_DESC string desc Use this to get or set the parcel media description. (1.19.1 RC0 or later) | 6828 | //PARCEL_MEDIA_COMMAND_DESC string desc Use this to get or set the parcel media description. (1.19.1 RC0 or later) |
6829 | //PARCEL_MEDIA_COMMAND_LOOP_SET float loop Use this to get or set the parcel's media loop duration. (1.19.1 RC0 or later) | 6829 | //PARCEL_MEDIA_COMMAND_LOOP_SET float loop Use this to get or set the parcel's media loop duration. (1.19.1 RC0 or later) |
6830 | m_host.AddScriptLPS(1); | 6830 | m_host.AddScriptLPS(1); |
6831 | for (int i = 0; i < commandList.Data.Length; i++) | 6831 | for (int i = 0; i < commandList.Data.Length; i++) |
6832 | { | 6832 | { |
@@ -6904,12 +6904,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6904 | m_host.AddScriptLPS(1); | 6904 | m_host.AddScriptLPS(1); |
6905 | LSL_Types.list list = new LSL_Types.list(); | 6905 | LSL_Types.list list = new LSL_Types.list(); |
6906 | //TO DO: make the implementation for the missing commands | 6906 | //TO DO: make the implementation for the missing commands |
6907 | //PARCEL_MEDIA_COMMAND_TEXTURE key uuid Use this to get or set the parcel's media texture. | 6907 | //PARCEL_MEDIA_COMMAND_TEXTURE key uuid Use this to get or set the parcel's media texture. |
6908 | //PARCEL_MEDIA_COMMAND_URL string url Used to get or set the parcel's media url. | 6908 | //PARCEL_MEDIA_COMMAND_URL string url Used to get or set the parcel's media url. |
6909 | //PARCEL_MEDIA_COMMAND_TYPE string mime_type Use this to get or set the parcel media MIME type (e.g. "text/html"). (1.19.1 RC0 or later) | 6909 | //PARCEL_MEDIA_COMMAND_TYPE string mime_type Use this to get or set the parcel media MIME type (e.g. "text/html"). (1.19.1 RC0 or later) |
6910 | //PARCEL_MEDIA_COMMAND_SIZE integer x, integer y Use this to get or set the parcel media pixel resolution. (1.19.1 RC0 or later) | 6910 | //PARCEL_MEDIA_COMMAND_SIZE integer x, integer y Use this to get or set the parcel media pixel resolution. (1.19.1 RC0 or later) |
6911 | //PARCEL_MEDIA_COMMAND_DESC string desc Use this to get or set the parcel media description. (1.19.1 RC0 or later) | 6911 | //PARCEL_MEDIA_COMMAND_DESC string desc Use this to get or set the parcel media description. (1.19.1 RC0 or later) |
6912 | //PARCEL_MEDIA_COMMAND_LOOP_SET float loop Use this to get or set the parcel's media loop duration. (1.19.1 RC0 or later) | 6912 | //PARCEL_MEDIA_COMMAND_LOOP_SET float loop Use this to get or set the parcel's media loop duration. (1.19.1 RC0 or later) |
6913 | for (int i = 0; i < aList.Data.Length; i++) | 6913 | for (int i = 0; i < aList.Data.Length; i++) |
6914 | { | 6914 | { |
6915 | 6915 | ||