diff options
author | Charles Krinke | 2008-09-15 14:32:02 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-15 14:32:02 +0000 |
commit | 5164fa24110b0197c2d18dc824351d384b1b8582 (patch) | |
tree | c6180377754fb75e812a65bf0cb224e37e107273 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Update svn properties, minor formatting cleanup, fix a compiler warning. (diff) | |
download | opensim-SC_OLD-5164fa24110b0197c2d18dc824351d384b1b8582.zip opensim-SC_OLD-5164fa24110b0197c2d18dc824351d384b1b8582.tar.gz opensim-SC_OLD-5164fa24110b0197c2d18dc824351d384b1b8582.tar.bz2 opensim-SC_OLD-5164fa24110b0197c2d18dc824351d384b1b8582.tar.xz |
Mantis#2197. Thank you kindly, Tyre, for a patch that:
adds the new function osTeleportAgent().
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 9d0c337..3a7c14e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -122,6 +122,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
122 | m_OSSL_Functions.osSetPrimFloatOnWater(floatYN); | 122 | m_OSSL_Functions.osSetPrimFloatOnWater(floatYN); |
123 | } | 123 | } |
124 | 124 | ||
125 | // Teleport Functions | ||
126 | |||
127 | public void osTeleportAgent(string agent, string regionName, vector position, vector lookat) | ||
128 | { | ||
129 | m_OSSL_Functions.osTeleportAgent(agent, regionName, position, lookat); | ||
130 | } | ||
131 | |||
132 | public void osTeleportAgent(string agent, vector position, vector lookat) | ||
133 | { | ||
134 | m_OSSL_Functions.osTeleportAgent(agent, position, lookat); | ||
135 | } | ||
136 | |||
125 | // Animation Functions | 137 | // Animation Functions |
126 | 138 | ||
127 | public void osAvatarPlayAnimation(string avatar, string animation) | 139 | public void osAvatarPlayAnimation(string avatar, string animation) |