diff options
author | Justin Clark-Casey (justincc) | 2011-08-11 02:19:13 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-11 02:19:13 +0100 |
commit | ee22569c9262277467df9a4b15674a1472fa0b71 (patch) | |
tree | 7488dfd04814435041d98ec5e8ef73708dedca80 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | comment out some of the currently less useful debug log messages (diff) | |
download | opensim-SC-ee22569c9262277467df9a4b15674a1472fa0b71.zip opensim-SC-ee22569c9262277467df9a4b15674a1472fa0b71.tar.gz opensim-SC-ee22569c9262277467df9a4b15674a1472fa0b71.tar.bz2 opensim-SC-ee22569c9262277467df9a4b15674a1472fa0b71.tar.xz |
only accept npc UUIDs to osNpc* functions, not names (except for create)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index c745e5c..84d61f4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -483,14 +483,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
483 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); | 483 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); |
484 | } | 484 | } |
485 | 485 | ||
486 | public key osNpcSaveAppearance(string avatar, string notecardName) | 486 | public key osNpcSaveAppearance(key npc, string notecardName) |
487 | { | 487 | { |
488 | return m_OSSL_Functions.osNpcSaveAppearance(avatar, notecardName); | 488 | return m_OSSL_Functions.osNpcSaveAppearance(npc, notecardName); |
489 | } | 489 | } |
490 | 490 | ||
491 | public void osNpcLoadAppearance(string avatar, string notecardNameOrUuid) | 491 | public void osNpcLoadAppearance(key npc, string notecardNameOrUuid) |
492 | { | 492 | { |
493 | m_OSSL_Functions.osNpcLoadAppearance(avatar, notecardNameOrUuid); | 493 | m_OSSL_Functions.osNpcLoadAppearance(npc, notecardNameOrUuid); |
494 | } | 494 | } |
495 | 495 | ||
496 | public void osNpcMoveTo(key npc, vector position) | 496 | public void osNpcMoveTo(key npc, vector position) |
@@ -498,9 +498,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
498 | m_OSSL_Functions.osNpcMoveTo(npc, position); | 498 | m_OSSL_Functions.osNpcMoveTo(npc, position); |
499 | } | 499 | } |
500 | 500 | ||
501 | public void osNpcMoveToTarget(key npc, vector position, int noFly) | 501 | public void osNpcMoveToTarget(key npc, vector position, int options) |
502 | { | 502 | { |
503 | m_OSSL_Functions.osNpcMoveToTarget(npc, position, noFly); | 503 | m_OSSL_Functions.osNpcMoveToTarget(npc, position, options); |
504 | } | 504 | } |
505 | 505 | ||
506 | public void osNpcStopMoveTo(LSL_Key npc) | 506 | public void osNpcStopMoveTo(LSL_Key npc) |