Difference between revisions of "LlSetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function/inventory|name|uuid=false}}
{{LSL_Function/inventory|name|uuid=false|type=script}}
{{LSL_Function
{{LSL_Function
|func_id=148|func_sleep=0.0|func_energy=10.0
|func_id=148|func_sleep=0.0|func_energy=10.0

Revision as of 19:33, 27 February 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

  • If name is missing from the prim's inventory or it is not a script 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 );