• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Question] Checking Event coordinates with scripts

2
Posts
8
Years
  • Hello!

    In Essentials v20.1 I want, by clicking on event #1, to check event #2's x-coordinate and compare it to the player's, same for the y-coordinate. I want something to happen when one of the coordinates matches with the player's using conditional branches. So I thought I could use something like ??? == $game_player.x. Unfortunately I can't figure out how to call event coordinates or if I need an entirely different approach. Basically I want to move an event at some distance to the player if it is north, west, south or east of them, nothing in between.
     
    Last edited:
    Back
    Top