Difference between revisions of "LlRezAtRoot"

From Second Life Wiki
Jump to navigation Jump to search
Line 20: Line 20:
{{LSL DefineRow||[[llGetStartParameter]]|}}
{{LSL DefineRow||[[llGetStartParameter]]|}}
|also_tests
|also_tests
|also_events={{LSL DefineRow||[[object_rez]]|}}
|also_events=
{{LSL DefineRow||[[object_rez]]|triggered when this object rezzes an object from inventory}}
|also_articles
|also_articles
|also_footer
|also_footer

Revision as of 19:53, 2 March 2007

Summary

Function: llRezAtRoot( string inventory, vector pos, vector vel, rotation rot, integer param );

Instanciate inventory object at pos with velocity vel and rotation rot with start parameter param

• string inventory an object in the inventory of the prim this script is in
• vector pos position
• vector vel velocity
• rotation rot rotation
• integer param on_rez event parameter and value returned by llGetStartParameter.

Causes a hard delay based on the mass of the object rezzed.

Caveats

  • This function causes the script to sleep for 0.1 seconds.
  • If inventory is missing from the prim's inventory or it is not an object then an error is shouted on DEBUG_CHANNEL.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  object_rez triggered when this object rezzes an object from inventory

Functions

•  llRezObject
•  llGetStartParameter

Deep Notes

Search JIRA for related Issues

Signature

function void llRezAtRoot( string inventory, vector pos, vector vel, rotation rot, integer param );