Skip to content

AttackStance

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference the different unit stances in the game. Used in the 'Change Object Stance' effect

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/attack_stance.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class AttackStance(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference the different unit stances in the game. Used in the
    'Change Object Stance' effect

    **Examples**



    """
    AGGRESSIVE_STANCE = 0
    DEFENSIVE_STANCE = 1
    STAND_GROUND = 2
    NO_ATTACK_STANCE = 3

Attributes

AGGRESSIVE_STANCE = 0 class-attribute instance-attribute

Value: 0

DEFENSIVE_STANCE = 1 class-attribute instance-attribute

Value: 1

STAND_GROUND = 2 class-attribute instance-attribute

Value: 2

NO_ATTACK_STANCE = 3 class-attribute instance-attribute

Value: 3