Difference between revisions of "CheckUnitType WorldScript"

From Serious Sam's Bogus Detour
Jump to: navigation, search
(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 == *...")
 
Line 1: Line 1:
 
{{WorldscriptIcon|rgb(44, 155, 255)|452|63}}
 
{{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.
+
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. This script can be enabled or disabled.
  
 
== Properties ==
 
== Properties ==

Revision as of 11:36, 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. This script can be enabled or disabled.

Properties

  • Unit feed Units
  • Resource UnitType, unit producer
  • Enumeration Type, default: And
    • And
    • Or
  • Unit feed OnEqual, validates
  • Unit feed OnUnequal, validates