Difference between revisions of "LlGetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
Line 11: Line 11:
|examples
|examples
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llSetScriptState]]|}}
|also_functions=
{{LSL DefineRow||[[llSetScriptState]]|}}
{{LSL DefineRow||[[llResetOtherScript]]|}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 15:10, 2 March 2007

Summary

Function: integer llGetScriptState( string name );

Returns an integer boolean that is TRUE if script name is running.

• string name a script in the inventory of the prim this script is in

Caveats

  • If name is missing from the prim's inventory or it is not a script then an error is shouted on DEBUG_CHANNEL.
  • Will not report FALSE for a script that encountered a run-time error, which greatly reduces the usefulness of this function.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llSetScriptState
•  llResetOtherScript

Deep Notes

Search JIRA for related Issues

Signature

function integer llGetScriptState( string name );