Difference between revisions of "LlSetScriptState"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=148|func_sleep=0.0|func_energy=10.0|func=llSetScriptState|p1_type=string|p1_name=name|p2_type=integer|p2_name=run|func_footnote=Control the state of a script name.|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=148|func_sleep=0.0|func_energy=10.0
|func=llSetScriptState
|p1_type=string|p1_name=name
|p2_type=integer|p2_name=run|p2_desc=boolean, if {{LSLG|FALSE}} the script will be disabled.
|func_footnote
|func_desc=Set the running state of the script '''name'''.
|return_text
|spec
|caveats=*Will not work properly on a script that has encoutered a {{LSLGC|Error|run-time error}}.
*'''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=SetScriptState
|cat1=Inventory
|cat2=Script
|cat3
|cat4
}}

Revision as of 20:25, 11 February 2007