diff options
author | Justin Clark-Casey (justincc) | 2012-01-27 23:05:48 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-27 23:05:48 +0000 |
commit | 9939f94f08b33e3dd9eeea65b730f0ddc80275a5 (patch) | |
tree | aa1fc79d0a8a64f9b3d30dc383b049c5b5bf353c /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs | |
parent | Add basic TestAddScript() regression test (diff) | |
download | opensim-SC_OLD-9939f94f08b33e3dd9eeea65b730f0ddc80275a5.zip opensim-SC_OLD-9939f94f08b33e3dd9eeea65b730f0ddc80275a5.tar.gz opensim-SC_OLD-9939f94f08b33e3dd9eeea65b730f0ddc80275a5.tar.bz2 opensim-SC_OLD-9939f94f08b33e3dd9eeea65b730f0ddc80275a5.tar.xz |
Implement osNpcGetOwner(key npc):key. This returns the owner for an 'owned' NPC, the npc's own key for an 'unowned' NPC and NULL_KEY is the input key was not an npc.
llGetOwnerKey() could also be extended but this does not allow one to distinguish between an unowned NPC and some other result (e.g. 'no such object' if NULL_KEY is the return.
Also, any future extensions to LSL functions by Linden Lab are unpredictable and OpenSim-specific extensions could clash.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs')
0 files changed, 0 insertions, 0 deletions