Triggered when a prim rezzes
from its inventory
. The id
is the globally
for the object it just rezzed.
is raised for all scripts
inside the prim that called llRezObject
. This allows for having one script do the actual rezzing while another script receives the object_rez events
and handles them (for example using llCreateLink
a newly created prim to the original, root
will be triggered only for scripts within the same prim as the script that rezzed the new object. object_rez
be triggered in scripts contained within other prims of a linked object
. It doesn't matter if the rezzer script is contained within the parent
prims--either will work; object_rez
triggers will just be limited to that prim.
This no longer appears to be the case from SL 126.96.36.199-RC and up. If there is no event handler in the child prim, the event will always be passed to the root prim. If there is an event handler in the child prim, however, the event isn't passed to the root prim. - Acru Joliat
is not to be confused with on_rez
which is raised in the newly rezzed object, not the prim that rezzed it.
To keep an object's inventory in rezzed objects (from the forums