Difference between revisions of "LlGetScriptState"

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

Revision as of 19:33, 27 February 2007

Summary

Function: integer llGetScriptState( string name );

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

• string name an item in the inventory of the prim this script is in

Caveats

  • If name is missing from the prim's inventory 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.
  • 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 integer llGetScriptState( string name );