diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index b19f8cf..bfe62c7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2359,6 +2359,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2359 | } | 2359 | } |
2360 | } | 2360 | } |
2361 | 2361 | ||
2362 | public void osNpcSit(LSL_Key npc, LSL_Key target, int options) | ||
2363 | { | ||
2364 | CheckThreatLevel(ThreatLevel.High, "osNpcSit"); | ||
2365 | |||
2366 | INPCModule module = World.RequestModuleInterface<INPCModule>(); | ||
2367 | if (module != null) | ||
2368 | { | ||
2369 | module.Sit(new UUID(npc.m_string), new UUID(target.m_string), World); | ||
2370 | } | ||
2371 | } | ||
2372 | |||
2362 | public void osNpcRemove(LSL_Key npc) | 2373 | public void osNpcRemove(LSL_Key npc) |
2363 | { | 2374 | { |
2364 | CheckThreatLevel(ThreatLevel.High, "osNpcRemove"); | 2375 | CheckThreatLevel(ThreatLevel.High, "osNpcRemove"); |