OsNpcSit

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
|description=
 
|description=
 
*Makes an NPC sit on an object.  
 
*Makes an NPC sit on an object.  
*Options - OS_NPC_SIT_NOW.  Makes the npc instantly sit on the prim.  This is the default option.
+
*Options - OS_NPC_SIT_NOW.  Makes the npc instantly sit on the prim.  You should always specify this option as it's currently the only one available.  Specifying a different constant number will result in undefined behaviour.
 
|
 
|
 
}}
 
}}

Revision as of 13:46, 30 April 2013

osNpcSit(key npc, key target, integer options)
C#: void osNpcSit(LSL_Key npc, LSL_Key target, int options)
  • Makes an NPC sit on an object.
  • Options - OS_NPC_SIT_NOW. Makes the npc instantly sit on the prim. You should always specify this option as it's currently the only one available. Specifying a different constant number will result in undefined behaviour.
Threat Level High
Permissions No permissions specified
Extra Delay No function delay specified
Personal tools
General
About This Wiki