LlGetScriptState: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
cat Inventory
Line 20: Line 20:
|history=*There was a time when [[llGetScriptState]] would return [[TRUE]] even if the script had encountered a {{LSLGC|Error|run-time error}}.
|history=*There was a time when [[llGetScriptState]] would return [[TRUE]] even if the script had encountered a {{LSLGC|Error|run-time error}}.
|sort=GetScriptState
|sort=GetScriptState
|cat1=Script
|cat1=Inventory
|cat2
|cat2=Script
|cat3
|cat3=
|cat4
|cat4=
}}
}}

Revision as of 05:35, 25 February 2012

Summary

Function: integer llGetScriptState( string name );
0.0 Forced Delay
10.0 Energy

Returns an integer boolean that is TRUE if the 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.

Examples

See Also

Functions

•  llSetScriptState
•  llResetOtherScript

Deep Notes

History

Signature

function integer llGetScriptState( string name );