I'm currently working on a 100% event driven custom battle system in RMVX. I have the system and concept planned out, and I know exactly how to go about doing it. Save for one aspect which really has me stumped.
Esentially, it is a turn based system where the user selects a command and their character carries out a short action on the map, much like a cutscene. It could be something simple like running at the enemy and slashing them with their sword before jumping back two spaces, or it could be slightly more complex and have the player leap over their opponent and kick a chair at them, causing them to either be struck or dodge the object that has been sent at them. Therefore depending on the environment and a lot of other factors the character or enemy could end up in a completely different tile to the one on which they were first standing.
I have that part planned out perfectly, and it's no problem for me. The only issue I have is making the character and enemy move to eachother. I know there must be a method of detecting the players current location and having the enemy move to it, but I'm really drawing a blank on this one. I assume it has to do with storing the current x and y axis in a variable, but beyond that I have no idea. :dead:
So I figured that rather than spending hours lost in the event menu with my mood getting steadily worse, I would throw this question to the experts on this board. I would really appreciate any help you can offer.
Esentially, it is a turn based system where the user selects a command and their character carries out a short action on the map, much like a cutscene. It could be something simple like running at the enemy and slashing them with their sword before jumping back two spaces, or it could be slightly more complex and have the player leap over their opponent and kick a chair at them, causing them to either be struck or dodge the object that has been sent at them. Therefore depending on the environment and a lot of other factors the character or enemy could end up in a completely different tile to the one on which they were first standing.
I have that part planned out perfectly, and it's no problem for me. The only issue I have is making the character and enemy move to eachother. I know there must be a method of detecting the players current location and having the enemy move to it, but I'm really drawing a blank on this one. I assume it has to do with storing the current x and y axis in a variable, but beyond that I have no idea. :dead:
So I figured that rather than spending hours lost in the event menu with my mood getting steadily worse, I would throw this question to the experts on this board. I would really appreciate any help you can offer.