Description

Methods and properties of event inherited from Game_Character class

Usage

Constructor

  • map_id {Integer}

    ID map where the event

  • event {Array}

    Event data : The structure is as follows:

    [
        {
            "id": 1,
            "x": "8",
            "y": "17",
            "name": "EV-1"
        },
        [
            {
                "trigger": "action_button",
                "frequence": 16,
                "type": "fixed",
                "speed": 4,
                "commands": [
                    "SHOW_TEXT: {'text': 'Hello World'}"
                ],
                "graphic": "4",
                "graphic-params": {
                    "direction": "bottom"
                }
            }
        ]
    ]
    

Methods

refresh

Refreshes the data of the event (change page, execution triggers). Return new properties by the `serialize` method

execCommands

Execute commands event of this event

remove

Remove this event

detectionPlayer

The event detects the hero in his field of vision

Discussion