Difference between revisions of "CheckSwitch WorldScript"

From Serious Sam's Bogus Detour
Jump to: navigation, search
m (Text replacement - " This script can be enabled or disabled." to "")
 
Line 1: Line 1:
 
{{WorldscriptIcon|rgb(110, 140, 186)|320|384}}
 
{{WorldscriptIcon|rgb(110, 140, 186)|320|384}}
  
Checks if a <code>MOD_</code> prefixed switch is defined and executes <code>OnTrue</code> or <code>OnFalse</code> conditionally. <code>Switch</code> must not include the <code>MOD_</code> prefix, as it will add the prefix regardless. This script can be executed by other scripts. This script can be enabled or disabled.
+
Checks if a <code>MOD_</code> prefixed switch is defined and executes <code>OnTrue</code> or <code>OnFalse</code> conditionally. <code>Switch</code> must not include the <code>MOD_</code> prefix, as it will add the prefix regardless. This script can be executed by other scripts.
  
 
== Properties ==
 
== Properties ==

Latest revision as of 16:03, 26 July 2017

Checks if a MOD_ prefixed switch is defined and executes OnTrue or OnFalse conditionally. Switch must not include the MOD_ prefix, as it will add the prefix regardless. This script can be executed by other scripts.

Properties

  • String Switch
  • Unit feed OnTrue, validates
  • Unit feed OnFalse, validates