Difference between revisions of "LlGetScriptState"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Gigs Taggart (talk | contribs) m (LSL llGetScriptState moved to LlGetScriptState) |
|||
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
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llGetScriptState( string name );250 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
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.