diff options
author | Charles Krinke | 2009-02-01 17:41:33 +0000 |
---|---|---|
committer | Charles Krinke | 2009-02-01 17:41:33 +0000 |
commit | 50536c66a0f2e72d68df25c84a2286337dd9b357 (patch) | |
tree | b08d791649187c671a0e76e27f251d5f98e54390 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | * Adding a few fields to the Land data responder that the client is complaini... (diff) | |
download | opensim-SC-50536c66a0f2e72d68df25c84a2286337dd9b357.zip opensim-SC-50536c66a0f2e72d68df25c84a2286337dd9b357.tar.gz opensim-SC-50536c66a0f2e72d68df25c84a2286337dd9b357.tar.bz2 opensim-SC-50536c66a0f2e72d68df25c84a2286337dd9b357.tar.xz |
Thank you kindly, TLaukkan (Tommil) for a patch that:
Added osTeleportAgent with region coordinates to
support hyper grid scripted teleports.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 5 |
1 files changed, 5 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 01b2d86..3817a07 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -131,6 +131,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
131 | m_OSSL_Functions.osTeleportAgent(agent, regionName, position, lookat); | 131 | m_OSSL_Functions.osTeleportAgent(agent, regionName, position, lookat); |
132 | } | 132 | } |
133 | 133 | ||
134 | public void osTeleportAgent(string agent, long regionX, long regionY, vector position, vector lookat) | ||
135 | { | ||
136 | m_OSSL_Functions.osTeleportAgent(agent, (uint) regionX, (uint) regionY, position, lookat); | ||
137 | } | ||
138 | |||
134 | public void osTeleportAgent(string agent, vector position, vector lookat) | 139 | public void osTeleportAgent(string agent, vector position, vector lookat) |
135 | { | 140 | { |
136 | m_OSSL_Functions.osTeleportAgent(agent, position, lookat); | 141 | m_OSSL_Functions.osTeleportAgent(agent, position, lookat); |