diff options
author | Justin Clark-Casey (justincc) | 2011-08-11 23:28:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-11 23:28:14 +0100 |
commit | a21e98ae1a3e2f570cc119e020d4d4ea111e0ad2 (patch) | |
tree | a74d900e3d6ebc4b6fea7b2d4450505b960c4739 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |
parent | Implement osAgentSaveAppearance() to save the appearance of an avatar in the ... (diff) | |
download | opensim-SC_OLD-a21e98ae1a3e2f570cc119e020d4d4ea111e0ad2.zip opensim-SC_OLD-a21e98ae1a3e2f570cc119e020d4d4ea111e0ad2.tar.gz opensim-SC_OLD-a21e98ae1a3e2f570cc119e020d4d4ea111e0ad2.tar.bz2 opensim-SC_OLD-a21e98ae1a3e2f570cc119e020d4d4ea111e0ad2.tar.xz |
implement osNpcGetRot() and osNpcSetRot()
Rotation works if done around the z axis. Anything else leads to random results.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 |
1 files changed, 10 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 4701736..e8e5f52 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -503,6 +503,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
503 | m_OSSL_Functions.osNpcMoveToTarget(npc, position, options); | 503 | m_OSSL_Functions.osNpcMoveToTarget(npc, position, options); |
504 | } | 504 | } |
505 | 505 | ||
506 | public rotation osNpcGetRot(key npc) | ||
507 | { | ||
508 | return m_OSSL_Functions.osNpcGetRot(npc); | ||
509 | } | ||
510 | |||
511 | public void osNpcSetRot(key npc, rotation rot) | ||
512 | { | ||
513 | m_OSSL_Functions.osNpcSetRot(npc, rot); | ||
514 | } | ||
515 | |||
506 | public void osNpcStopMoveTo(LSL_Key npc) | 516 | public void osNpcStopMoveTo(LSL_Key npc) |
507 | { | 517 | { |
508 | m_OSSL_Functions.osNpcStopMoveTo(npc); | 518 | m_OSSL_Functions.osNpcStopMoveTo(npc); |