Difference between revisions of "LlSetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
|return_text
|return_text
|spec
|spec
|caveats=*Will not work properly on 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}}.
*'''name''' must be in the prims inventory or an error is shouted on {{LSLG|DEBUG_CHANNEL}}.
|constants
|constants
|examples
|examples
|helpers
|helpers
|also_functions
|also_functions=*{{LSLG|llGetScriptState}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 20:27, 11 February 2007

Summary

Function: llSetScriptState( string name, integer run );

Set the running state of the script name.

• string name
• integer run boolean, if FALSE the script will be disabled.

Caveats

  • Cannot be used to restart a script that has encoutered a run-time error.
  • name must be in the prims inventory or an error is shouted on DEBUG_CHANNEL.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

Deep Notes

Search JIRA for related Issues

Signature

function void llSetScriptState( string name, integer run );