Difference between revisions of "CheckUnitType WorldScript"
From Serious Sam's Bogus Detour
(Created page with "{{WorldscriptIcon|rgb(44, 155, 255)|452|63}} This is a worldscript. This script can be executed by other scripts. This script can be enabled or disabled. == Properties == *...") |
m (Text replacement - " This script can be enabled or disabled." to "") |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{WorldscriptIcon|rgb(44, 155, 255)|452|63}} | {{WorldscriptIcon|rgb(44, 155, 255)|452|63}} | ||
− | + | Checks if the targeted units are of the given unit type and executes <code>OnEqual</code> or <code>OnUnequal</code> conditionally. This script can be executed by other scripts. | |
== Properties == | == Properties == |
Latest revision as of 16:03, 26 July 2017
Checks if the targeted units are of the given unit type and executes OnEqual
or OnUnequal
conditionally. This script can be executed by other scripts.
Properties
- Unit feed
Units
- Resource
UnitType
, unit producer - Enumeration
Type
, default:And
-
And
-
Or
-
- Unit feed
OnEqual
, validates - Unit feed
OnUnequal
, validates