Difference between revisions of "DisableScript"
(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...") |
(No difference)
|
Latest revision as of 09:13, 15 August 2012
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.