Skip to content

PanelLocation

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference the panel positons in the game. Used in the 'Display Information' effect.

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/panel_location.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
class PanelLocation(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference the panel positons in the game. Used in the 'Display
    Information' effect.

    **Examples**



    """
    TOP = 0
    """Panel at the top of the screen. ~13% from the top"""
    BETWEEN = 1
    """Panel between the top and the center of the screen. ~33% from the top"""
    CENTER = 2
    """Panel close to the center of the screen. ~45% from the top"""

Attributes

TOP = 0 class-attribute instance-attribute

Value: 0

Panel at the top of the screen. ~13% from the top

BETWEEN = 1 class-attribute instance-attribute

Value: 1

Panel between the top and the center of the screen. ~33% from the top

CENTER = 2 class-attribute instance-attribute

Value: 2

Panel close to the center of the screen. ~45% from the top