Difference between revisions of "LlRezObject"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
|p4_type=rotation|p4_name=rot|p4_desc=rotation
|p4_type=rotation|p4_name=rot|p4_desc=rotation
|p5_type=integer|p5_name=param|p5_desc=[[on_rez]] event parameter and value returned by [[llGetStartParameter]].
|p5_type=integer|p5_name=param|p5_desc=[[on_rez]] event parameter and value returned by [[llGetStartParameter]].
|func_footnote=Causes a hard delay based on the mass of the object rezzed. The root of '''inventory''' is not at '''pos''' but the center of '''inventory''' is. To have the root prim at '''pos''' use [[llRezAtRoot]] instead.
|func_footnote=Causes a hard delay based on the mass of the object rezzed. The root of '''inventory''' is not at '''pos''' but the center of '''inventory''' is.<br/>To have the root prim at '''pos''' use [[llRezAtRoot]] instead.
|func_desc=Instanciate '''inventory''' object at '''pos''' with velocity '''vel''' and rotation '''rot''' with start parameter '''param'''
|func_desc=Instanciate '''inventory''' object at '''pos''' with velocity '''vel''' and rotation '''rot''' with start parameter '''param'''
|return_text
|return_text

Revision as of 22:17, 22 February 2007

Summary

Function: llRezObject( 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 item 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. The root of inventory is not at pos but the center of inventory is.
To have the root prim at pos use llRezAtRoot instead.

Caveats

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

Examples

See Also

Functions

•  llRezAtRoot Rezzes the object at the requested position

Deep Notes

Search JIRA for related Issues

Signature

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