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 7cf6642..49c8722 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2362,6 +2362,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2362 | } | 2362 | } |
2363 | } | 2363 | } |
2364 | 2364 | ||
2365 | public void osNpcStand(LSL_Key npc) | ||
2366 | { | ||
2367 | CheckThreatLevel(ThreatLevel.High, "osNpcStand"); | ||
2368 | |||
2369 | INPCModule module = World.RequestModuleInterface<INPCModule>(); | ||
2370 | if (module != null) | ||
2371 | { | ||
2372 | module.Stand(new UUID(npc.m_string), World); | ||
2373 | } | ||
2374 | } | ||
2375 | |||
2365 | public void osNpcRemove(LSL_Key npc) | 2376 | public void osNpcRemove(LSL_Key npc) |
2366 | { | 2377 | { |
2367 | CheckThreatLevel(ThreatLevel.High, "osNpcRemove"); | 2378 | CheckThreatLevel(ThreatLevel.High, "osNpcRemove"); |