llResetOtherScript

From Second Life Wiki
Revision as of 07:48, 26 November 2007 by Viara Jewell (talk | contribs) (Example inserted)
Jump to navigation Jump to search

Summary

Function: llResetOtherScript( string name );
0.0 Forced Delay
10.0 Energy

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.
  • The default state is set as the active state

Caveats

  • If name is missing from the prim's inventory or it is not a script then an error is shouted on DEBUG_CHANNEL.

Examples

See Also

Functions

•  llResetScript
•  llGetScriptState
•  llSetScriptState

Deep Notes

Signature

function void llResetOtherScript( string name );