Difference between revisions of "LlGetScriptState"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 7: | Line 7: | ||
|return_text={{HoverText|boolean|TRUE or FALSE}} that is {{LSLG|TRUE}} if script '''name''' is running. | |return_text={{HoverText|boolean|TRUE or FALSE}} that is {{LSLG|TRUE}} if script '''name''' is running. | ||
|spec | |spec | ||
|caveats=*Will not report FALSE for a script that encountered a {{LSLGC|Error|run-time error}}, which greatly reduces the usefulness of this function. | |caveats=*Will not report [[FALSE]] for a script that encountered a {{LSLGC|Error|run-time error}}, which greatly reduces the usefulness of this function. | ||
|constants | |constants | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions= | |also_functions={{LSL DefineRow||[[llSetScriptState]]|}} | ||
|also_events | |also_events | ||
|also_tests | |also_tests |
Revision as of 15:07, 2 March 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 | – | 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.
Examples
See Also
Functions
• | llSetScriptState |