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 | 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 268a599..7cf6642 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2351,6 +2351,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2351 | } | 2351 | } |
2352 | } | 2352 | } |
2353 | 2353 | ||
2354 | public void osNpcSit(LSL_Key npc, LSL_Key target, int options) | ||
2355 | { | ||
2356 | CheckThreatLevel(ThreatLevel.High, "osNpcSit"); | ||
2357 | |||
2358 | INPCModule module = World.RequestModuleInterface<INPCModule>(); | ||
2359 | if (module != null) | ||
2360 | { | ||
2361 | module.Sit(new UUID(npc.m_string), new UUID(target.m_string), World); | ||
2362 | } | ||
2363 | } | ||
2364 | |||
2354 | public void osNpcRemove(LSL_Key npc) | 2365 | public void osNpcRemove(LSL_Key npc) |
2355 | { | 2366 | { |
2356 | CheckThreatLevel(ThreatLevel.High, "osNpcRemove"); | 2367 | CheckThreatLevel(ThreatLevel.High, "osNpcRemove"); |