DisableScript

From Soldat Community Wiki
Revision as of 10:13, 15 August 2012 by Freeman (talk | contribs) (Created page with "===From the Scripting Manual=== '''Data Type:''' Boolean '''Description:''' By default, this variable is false. If you set this variable to true (by doing "DisableS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

From the Scripting Manual

 Data Type: Boolean
 
 Description:
 By default, this variable is false.
 If you set this variable to true (by doing "DisableScript := true;"), then
 your script will no longer receive event calls from the server.
 
 Eg, AppOnIdle, OnPlayerSpeak etc.
 
 NOTE: Any threads you have running in your script will continue to function
       so setting this variable back to false will re-enable your script.

External Links