The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => Topic started by: mr.watson on July 02, 2014, 04:25:23 PM

Title: [Solved] Help with setting event position
Post by: mr.watson on July 02, 2014, 04:25:23 PM
I'm currently working on a chase system, so that when the player enters a room, it checks to see if a monster is chasing them. If one is, it checks the players coordinates, then sets the monster event to a point based on them.

Part of the time this works. However, most of the time it doesn't move the monster event, and it's just stuck in the wall where it's default position is. In the case of the event that I'm going to link below, if the player enters the room from the top (player y == 9) the monster event will work fine and be set to the correct position. However, any set position events below that one don't work; if the player is entering from the right or the left of the screen for example.

event page:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Ffc03.deviantart.net%2Ffs70%2Ff%2F2014%2F183%2Fe%2Ff%2Fevent_page_by_kingscourtgames-d7ox0k0.png&hash=1e7636fe90d89a3f8608a044b220c90d06b0038a)

I'm sure it's just something stupid that I'm missing, but does anyone know what I'm doing wrong?

Thanks!
Title: Re: Help with setting event position
Post by: &&&&&&&&&&&&& on July 02, 2014, 04:43:13 PM
Hello. Please upload your project so that I can take a look at it.
Title: Re: Help with setting event position [solved]
Post by: mr.watson on July 02, 2014, 05:28:02 PM
I just figured it out, for some reason I have to put a wait command between the set event location and the switch commands. Don't really understand why.