LlGetScriptState

From Second Life Wiki

Jump to: navigation, search

Contents

Description

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

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

• string name a script in the prim's inventory

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

  • There was a time when llGetScriptState would return TRUE even if the script had encountered a run-time error.
Personal tools