Skip to content

VictoryCondition

Bases: _DataSetIntEnums

This enum class provides the integer values used to references the different victory conditions that can be set using the Global Victory tab in the in-game editor.

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/victory_condition.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
class VictoryCondition(_DataSetIntEnums):
    """
    This enum class provides the integer values used to references the different victory conditions that can be set
    using the Global Victory tab in the in-game editor.

    **Examples**



    """
    STANDARD = 0
    CONQUEST = 1
    SCORE = 2
    TIME_LIMIT = 3
    CUSTOM = 4
    SECONDARY_GAME_MODE = 6

Attributes

STANDARD = 0 class-attribute instance-attribute

Value: 0

CONQUEST = 1 class-attribute instance-attribute

Value: 1

SCORE = 2 class-attribute instance-attribute

Value: 2

TIME_LIMIT = 3 class-attribute instance-attribute

Value: 3

CUSTOM = 4 class-attribute instance-attribute

Value: 4

SECONDARY_GAME_MODE = 6 class-attribute instance-attribute

Value: 6