LlSetScriptState: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
Strife Onizuka (talk | contribs)
No edit summary
Line 13: Line 13:
|examples
|examples
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llGetScriptState]]|}}
|also_functions=
{{LSL DefineRow||[[llGetScriptState]]|}}
{{LSL DefineRow||[[llResetOtherScript]]|}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 15:10, 2 March 2007

Summary

Function: llSetScriptState( string name, integer run );
0.0 Forced Delay
10.0 Energy

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.

Examples

See Also

Functions

•  llGetScriptState
•  llResetOtherScript

Deep Notes

Signature

function void llSetScriptState( string name, integer run );