On rez

From Second Life Wiki
Jump to: navigation, search


Event: on_rez( integer start_param ){ ; }

Triggered when an object is rezzed from inventory or from a prim (by a script). Also triggered in an attachment when a user logs in with it attached or when a user attaches it.

The start parameter is zero when an object is rezzed from a user's inventory. Otherwise it is the parameter supplied to llRezObject or llRezAtRoot. The start parameter is available at any subsequent time by calling llGetStartParameter.

• integer start_param


If the object is rezzed by a script in another object then the object_rez event in that object is not serialized with respect to the on_rez event in the rezzed object.

All Issues ~ Search JIRA for related Bugs


See Also


•  object_rez triggered when this object rezzes an object from inventory


•  llGetStartParameter
•  llRezObject
•  llRezAtRoot

Deep Notes


event void on_rez( integer start_param );