General conditions of Animation Selector
Below are the conditions currently used in the engine. However, the engine also supports additional condition types.
fsm_tags ["name" ... ]
Checks whether the current FSM state contains the specified tags. The list of valid tags can be found in the FSM configuration files. For human units, these are located in resource\properties\human_fsm\*
.
terrain_pp "<terrain_type>"
Checks if the unit is located on the specified terrain type. See: Terrain Type reference.
place_mask "<mask>"
Checks whether the actor is linked to a place with a name matching the given mask. Wildcard *
is supported. If the mask contains no *
, the comparison is exact.
See: Actor-to-vehicle place linking reference.
linked ["<prop>" ... ]
If no properties are specified, checks whether the actor is linked. If properties are listed, checks whether the linked object (via uplink
) has the specified tags. Property values can be found in the .def
file of the target object.
have_enemy
Returns true if the actor has detected enemies.
movement_mode "<mode>"
Checks whether the actor is currently using the specified movement mode. See: Movement mode reference.
throwing_range <min> <max>
Checks if the target is within throwing range. The values are in meters.
cover_type "<name>"
Checks whether the unit is currently in a cover of the specified type. See: Cover type reference.
Last updated