Difference between revisions of "LlGetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{LSL Function/inventory|name|uuid=false|type=script}}
{{LSL Function
{{LSL Function
|inject-2={{LSL Function/inventory|script|uuid=false|type=script}}
|func_id=250|func_sleep=0.0|func_energy=10.0
|func_id=250|func_sleep=0.0|func_energy=10.0
|func=llGetScriptState|return_type=integer|p1_type=string|p1_name=name
|func=llGetScriptState|return_type=integer|p1_type=string|p1_name=script
|func_footnote
|func_footnote
|func_desc
|func_desc
|return_text={{HoverLink|boolean|TRUE or FALSE}} that is [[TRUE]] if the script '''name''' is running.
|return_text={{HoverLink|boolean|TRUE or FALSE}} that is [[TRUE]] if the {{LSLP|script}} is running.
|spec
|spec
|caveats
|caveats

Revision as of 10:23, 13 June 2012

Summary

Function: integer llGetScriptState( string script );

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

• string script a script in the inventory of the prim this script is in

Caveats

  • If script is missing from the prim's inventory or it is not a script then an error is shouted on DEBUG_CHANNEL.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llSetScriptState
•  llResetOtherScript

Deep Notes

History

Search JIRA for related Issues

Signature

function integer llGetScriptState( string script );