From Second Life Wiki
Revision as of 14:29, 22 January 2015 by ObviousAltIsObvious Resident (talk | contribs) (<lsl> tag to <source>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Function: llResetOtherScript( string name );

Resets script name.

• string name a script in the inventory of the prim this script is in

On script reset...

  • The current event/function is exited without further execution or return.
  • All global variables are set to their defaults
  • The event queue is cleared, and recurring events are stopped.
  • The default state is set as the active state


  • If name is missing from the prim's inventory or it is not a script then an error is shouted on DEBUG_CHANNEL.
  • If the script is not running, this call has no effect, even after the script is set running again.
  • A script can reset itself with this function (not just other scripts).
All Issues ~ Search JIRA for related Bugs


// the other script must be within the same prim and has to be running

    touch_start(integer num_detected)

    touch_end(integer num_detected)
        if (llGetTime() < 3.0)
            llSay(0, "Please click & hold for at least 3.0 seconds.");

See Also


•  llResetScript
•  llGetScriptState
•  llSetScriptState

Deep Notes

Search JIRA for related Issues


function void llResetOtherScript( string name );