11.07.2015 Views

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B. EventsWhen a target is set via the llRotTarget library call, but the script is outside the specified angle this event is raised.B.20. not_at_targetnot_at_target(void);When a target is set via the llTarget library call, but the script is outside the specified range this event is raised.B.21. object_rezobject_rez(key id);Triggered when object rez-es in another object from its inventory via the llRezObject api. The id is the globallyunique key for the object.B.22. on_rezon_rez(integer start_param);Triggered whenever a object is rez-ed from inventory or by another object. The start_param is the parameterpassed in from the call to llRezObject.B.23. run_time_permissionsrun_time_permissions(integer permissions);Scripts need permission from either the owner or the avatar they wish to act on before they perform certainfunctions, such as debiting money from their owner’s account, triggering an animation on an avatar, or capturingcontrol inputs. The llRequestPermissions library function is used to request these permissions and the variouspermissions integer constants can be supplied. The integer returned to this event handler contains the current setof permissions flags, so if permissions eqal 0 then no permissions are set.94

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!