diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index d3ba675..60ab75e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -872,6 +872,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
872 | 872 | ||
873 | TeleportAgent(m_host.OwnerID.ToString(), regionX, regionY, position, lookat, true); | 873 | TeleportAgent(m_host.OwnerID.ToString(), regionX, regionY, position, lookat, true); |
874 | } | 874 | } |
875 | |||
875 | ///<summary> | 876 | ///<summary> |
876 | /// Allows a script IN the target prim to force an avatar to sit on it using normal methods | 877 | /// Allows a script IN the target prim to force an avatar to sit on it using normal methods |
877 | /// as if called by the client. | 878 | /// as if called by the client. |
@@ -887,6 +888,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
887 | 888 | ||
888 | ForceSit(avatar, m_host.UUID); | 889 | ForceSit(avatar, m_host.UUID); |
889 | } | 890 | } |
891 | |||
890 | /// <summary> | 892 | /// <summary> |
891 | /// Overload method of osForceSit(string avatar) to allow a script NOT in the target prim to force | 893 | /// Overload method of osForceSit(string avatar) to allow a script NOT in the target prim to force |
892 | /// an avatar to sit on the target prim using normal methods as if called by the client. | 894 | /// an avatar to sit on the target prim using normal methods as if called by the client. |
@@ -901,9 +903,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
901 | 903 | ||
902 | UUID targetID = new UUID(target); | 904 | UUID targetID = new UUID(target); |
903 | 905 | ||
904 | ForceSit(avatar, targetID); | 906 | ForceSit(avatar, targetID); |
905 | |||
906 | |||
907 | } | 907 | } |
908 | 908 | ||
909 | public void ForceSit(string avatar, UUID targetID) | 909 | public void ForceSit(string avatar, UUID targetID) |