Difference between revisions of "LlSetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
Line 13: Line 13:
|constants
|constants
|examples=llSetScriptState(llGetScriptName(),FALSE);
|examples=llSetScriptState(llGetScriptName(),FALSE);
Stops the Script, and Does Nothing Further until rerez, or invoked with TRUE, in another script
Stops the Script, and Does Nothing Further until rerez, or invoked with TRUE, in another script
llSetScriptState("somescript",TRUE);
llSetScriptState("somescript",TRUE);
Starts Another Script
Starts Another Script
|helpers
|helpers

Revision as of 12:25, 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 );