Hey all.
To check the coordinates of a single event, the script call in a conditional branch looks something like this:
$game_map.events[@event_id].x == 1 (For x coordinate 1)
$game_map.events[@event_id].y == 1 (For y coordinate 1)
My question is, is it possible to create a system of events to check for an array of events if they are at a specific position without creating more than 1 conditional branch? Something like
$game_map.events[001, 002, 003, 004].x == 1
Or can this only be achieved with scripts? Thanks in advance.
To check the coordinates of a single event, the script call in a conditional branch looks something like this:
$game_map.events[@event_id].x == 1 (For x coordinate 1)
$game_map.events[@event_id].y == 1 (For y coordinate 1)
My question is, is it possible to create a system of events to check for an array of events if they are at a specific position without creating more than 1 conditional branch? Something like
$game_map.events[001, 002, 003, 004].x == 1
Or can this only be achieved with scripts? Thanks in advance.