Justin Clark-Casey (justincc)
|
9c84a8162f
If NPCModule.CreateNPC() fails to create the required ScenePresence (which should in theory never happen), don't add the NPC to the npc list but return UUID.Zero instead.
|
12 years ago |
Justin Clark-Casey (justincc)
|
7837c611fb
Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().
|
13 years ago |
Justin Clark-Casey (justincc)
|
9939f94f08
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.
|
13 years ago |
Justin Clark-Casey (justincc)
|
ba3491c76e
Add permissions checks for owned avatars to all other osNpc* functions.
|
13 years ago |
Justin Clark-Casey (justincc)
|
b47c0d7e51
refactor: Move existing npc owner checks to NPCModule.CheckPermissions() methods and expose on interface for external calls.
|
13 years ago |
Melanie
|
7518b075b7
Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
|
13 years ago |
Justin Clark-Casey (justincc)
|
de161585c0
Implement osNpcStand(<npc-id>)
|
13 years ago |
Justin Clark-Casey (justincc)
|
0c041ce12f
Implement osNpcSit(). This is still in development so don't trust it
|
13 years ago |
Justin Clark-Casey (justincc)
|
50945dd560
add regression test for osNpcCreate when cloning an in-region avatar
|
13 years ago |
Justin Clark-Casey (justincc)
|
7f499ff3f3
Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget()
|
13 years ago |
Justin Clark-Casey (justincc)
|
5d6c9644fa
early code to allow scripts to force npcs not to fly when moving to target
|
13 years ago |
Justin Clark-Casey (justincc)
|
195c1dc9b8
implement osNpcStopMoveTo() to cancel any current move target
|
13 years ago |
Justin Clark-Casey (justincc)
|
e869eeb0bf
Implement first draft functions for saving and loading NPC appearance from storage.
|
13 years ago |
Justin Clark-Casey (justincc)
|
61d49d4f63
rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to INPCModule
|
13 years ago |
Justin Clark-Casey (justincc)
|
513d63455e
Create a very basic initial test which just creates an 'npc' and tests that the scene presence exists
|
13 years ago |