llSetScriptState

From Second Life Wiki
Revision as of 12:24, 24 March 2007 by Bazza Carter (talk | contribs)
Jump to navigation Jump to search

Summary

Function: llSetScriptState( string name, integer run );

Set the running state of the script name.

• string name a script in the inventory of the prim this script is in
• integer run boolean, if FALSE the script will be disabled.

Caveats

All Issues ~ Search JIRA for related Bugs

Examples

llSetScriptState(llGetScriptName(),FALSE); Stops the Script, and Does Nothing Further until rerez, or invoked with TRUE, in another script llSetScriptState("somescript",TRUE);

Starts Another Script

See Also

Functions

•  llGetScriptState
•  llResetOtherScript

Deep Notes

Search JIRA for related Issues

Signature

function void llSetScriptState( string name, integer run );