llResetScript()
All
variables are
reset to their
default values. All pending
events are cleared. The
default state becomes active and its
state_entry is triggered. This is the same
function as clicking "reset" in the
script editor.
It can be useful to include
llResetScript in the
on_rez event if the script uses
llGetOwner and will be sold or distributed. This way, any
listens set to the
owner will reset when the
object is
rezzed by its new owner.
Compare with
llResetOtherScript.
Functions |
Script |
Reset