Skip to content

SelectionEffect

Bases: _DataSetIntEnums

This enum class provides the integer values for the different selection effects that can be used in the 'Modify Attribute' effect with the 'SelectionEffect' attribute.

Examples:

Source code in AoE2ScenarioParser/datasets/trigger_lists/selection_effect.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class SelectionEffect(_DataSetIntEnums):
    """
    This enum class provides the integer values for the different selection effects that can be used in the 'Modify
    Attribute' effect with the 'SelectionEffect' attribute.

    **Examples**:



    """
    HP_BAR = 0
    """Has hit point bar"""
    HP_BAR_OUTLINE = 1
    """Has hit point bar, and outline"""
    NONE = 2
    """No hit point bar, or outline"""
    OUTLINE = 3
    """No hit point bar, but has outline"""

Attributes

HP_BAR = 0 class-attribute instance-attribute

Value: 0

Has hit point bar

HP_BAR_OUTLINE = 1 class-attribute instance-attribute

Value: 1

Has hit point bar, and outline

NONE = 2 class-attribute instance-attribute

Value: 2

No hit point bar, or outline

OUTLINE = 3 class-attribute instance-attribute

Value: 3

No hit point bar, but has outline