Skip to content

ActionType

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference the different action types in the game. These values are used in the Task Object effect

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/action_type.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
class ActionType(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference the different action types in the game.
    These values are used in the Task Object effect

    **Examples**



    """
    DEFAULT = 0
    MOVE = 1
    PATROL = 2
    GUARD = 3
    FOLLOW = 4
    STOP = 5
    ATTACK_GROUND = 6
    GARRISON = 7
    KILL = 8
    UNLOAD = 9
    GATHER_POINT = 10
    LOCK_UNLOCK = 11
    WORK = 12
    UNGARRISON = 13
    DROP_RELIC = 14
    PACK = 15
    UNPACK = 16
    ATTACK_MOVE = 17
    LINE_FORMATION = 18
    BOX_FORMATION = 19
    STAGGERED_FORMATION = 20
    FLANK_FORMATION = 21

Attributes

DEFAULT = 0 class-attribute instance-attribute

Value: 0

MOVE = 1 class-attribute instance-attribute

Value: 1

PATROL = 2 class-attribute instance-attribute

Value: 2

GUARD = 3 class-attribute instance-attribute

Value: 3

FOLLOW = 4 class-attribute instance-attribute

Value: 4

STOP = 5 class-attribute instance-attribute

Value: 5

ATTACK_GROUND = 6 class-attribute instance-attribute

Value: 6

GARRISON = 7 class-attribute instance-attribute

Value: 7

KILL = 8 class-attribute instance-attribute

Value: 8

UNLOAD = 9 class-attribute instance-attribute

Value: 9

GATHER_POINT = 10 class-attribute instance-attribute

Value: 10

LOCK_UNLOCK = 11 class-attribute instance-attribute

Value: 11

WORK = 12 class-attribute instance-attribute

Value: 12

UNGARRISON = 13 class-attribute instance-attribute

Value: 13

DROP_RELIC = 14 class-attribute instance-attribute

Value: 14

PACK = 15 class-attribute instance-attribute

Value: 15

UNPACK = 16 class-attribute instance-attribute

Value: 16

ATTACK_MOVE = 17 class-attribute instance-attribute

Value: 17

LINE_FORMATION = 18 class-attribute instance-attribute

Value: 18

BOX_FORMATION = 19 class-attribute instance-attribute

Value: 19

STAGGERED_FORMATION = 20 class-attribute instance-attribute

Value: 20

FLANK_FORMATION = 21 class-attribute instance-attribute

Value: 21