Bases: _DataSetIntEnums
This enum class provides the integer values used to reference the object state values used in the game. Used in the
'Object in Area' condition
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/object_state.py
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 | class ObjectState(_DataSetIntEnums):
"""
This enum class provides the integer values used to reference the object state values used in the game. Used in the
'Object in Area' condition
**Examples**
"""
FOUNDATION = 0
ALMOST_ALIVE = 1
ALIVE = 2
RESOURCE = 3
DYING = 4
DEAD = 5
UNDEAD = 6
REMOVE = 7
|
Attributes
FOUNDATION = 0
class-attribute
instance-attribute
Value:
0
ALMOST_ALIVE = 1
class-attribute
instance-attribute
Value:
1
ALIVE = 2
class-attribute
instance-attribute
Value:
2
RESOURCE = 3
class-attribute
instance-attribute
Value:
3
DYING = 4
class-attribute
instance-attribute
Value:
4
DEAD = 5
class-attribute
instance-attribute
Value:
5
UNDEAD = 6
class-attribute
instance-attribute
Value:
6
REMOVE = 7
class-attribute
instance-attribute
Value:
7