CheckSwitch WorldScript
From Serious Sam's Bogus Detour
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