Difference between revisions of "LlRezObject"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function/inventory|inventory|uuid=false}}
{{LSL_Function
{{LSL_Function
|func=llRezObject
|func_id=104|func_sleep=0.1|func_energy=200.0
|func_id=104
|func=llRezObject|sort=RezObject
|func_sleep=0.1
|p1_type=string|p1_name=inventory
|func_energy=200.0
|p2_type=vector|p2_name=pos|p2_desc=position
|sort=RezObject
|p3_type=vector|p3_name=vel|p3_desc=velocity
|func_desc=Instanciate inventory object at pos with velocity vel and rotation rot with start parameter passed to its on_rez.  
|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]].
|func_footnote=Causes a hard delay based on the mass of the object rezzed.
|func_footnote=Causes a hard delay based on the mass of the object rezzed.
|return_type
|func_desc=Instanciate '''inventory''' object at '''pos''' with velocity '''vel''' and rotation '''rot''' with start parameter '''param'''
|return_text
|return_text
|p1_type|p1_name|p1_desc
|p2_type|p2_name|p2_desc
|p3_type|p3_name|p3_desc
|p4_type|p4_name|p4_desc
|p5_type|p5_name|p5_desc
|p6_type|p6_name|p6_desc
|p7_type|p7_name|p7_desc
|p8_type|p8_name|p8_desc
|p9_type|p9_name|p9_desc
|p10_type|p10_name|p10_desc
|p11_type|p11_name|p11_desc
|p12_type|p12_name|p12_desc
|constants
|spec
|spec
|caveats
|caveats
|constants
|examples
|examples
|helpers
|helpers
|also_header
|also_functions
|also_functions
|also_tests
|also_tests
|also_events
|also_events
|also_articles
|also_articles
|also_footer
|notes
|notes
|mode
|permission
|deprecated
|location
|inventory
|inventory
|permission
|negative_index
|negative_index
|cat1
|cat1=Rez
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
|cat5
|cat6
}}
}}

Revision as of 22:13, 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.

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

Deep Notes

Search JIRA for related Issues

Signature

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