Skip to content

VisibilityState

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference visibility state of a player for another player in the game. Used in the 'Set Visibility State' effect.

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/visibility_state.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
class VisibilityState(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference visibility state of a player for another player in the
    game. Used in the 'Set Visibility State' effect.

    **Examples**



    """
    VISIBLE = 0
    EXPLORED = 1
    INVISIBLE = 2

Attributes

VISIBLE = 0 class-attribute instance-attribute

Value: 0

EXPLORED = 1 class-attribute instance-attribute

Value: 1

INVISIBLE = 2 class-attribute instance-attribute

Value: 2