Difference between revisions of "LlSetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
Line 12: Line 12:
*[http://forums.secondlife.com/showthread.php?t=172251 Bug: Script inventory not found error, but script is there]
*[http://forums.secondlife.com/showthread.php?t=172251 Bug: Script inventory not found error, but script is there]
|constants
|constants
|examples
|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
|helpers
|helpers
|also_functions=
|also_functions=

Revision as of 12:24, 24 March 2007

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 );