Difference between revisions of "LlSetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
Line 10: Line 10:
|spec
|spec
|caveats=*Cannot be used to restart a script that has encoutered a {{LSLGC|Error|run-time error}}.
|caveats=*Cannot be used to restart a script that has encoutered a {{LSLGC|Error|run-time error}}.
*'''name''' must be in the prims inventory or an error is shouted on {{LSLG|DEBUG_CHANNEL}}.
|constants
|constants
|examples
|examples

Revision as of 19:32, 27 February 2007

Summary

Function: llSetScriptState( string name, integer run );

Set the running state of the script name.

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

Caveats

  • If name is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
  • Cannot be used to restart a script that has encoutered a run-time error.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llGetScriptState

Deep Notes

Search JIRA for related Issues

Signature

function void llSetScriptState( string name, integer run );