Difference between revisions of "LlGetScriptState"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{ | {{LSL_Function | ||
|func_id=250|func_sleep=0.0|func_energy=10.0 | |||
|func=llGetScriptState|return_type=integer|p1_type=string|p1_name=name | |||
|func_footnote | |||
|func_desc | |||
|return_text={{HoverText|boolean|TRUE or FALSE}} that is {{LSLG|TRUE}} if script '''name''' is running. | |||
|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. | |||
*'''name''' must be in the prims inventory or an error is shouted on {{LSLG|DEBUG_CHANNEL}}. | |||
|constants | |||
|examples | |||
|helpers | |||
|also_functions | |||
|also_events | |||
|also_tests | |||
|also_articles | |||
|notes | |||
|permission | |||
|negative_index | |||
|sort=GetScriptState | |||
|cat1=Script | |||
|cat2=Inventory | |||
|cat3 | |||
|cat4 | |||
}} |
Revision as of 20:19, 11 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 |
Caveats
- 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.