The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Rexilia on April 21, 2010, 04:47:25 AM

Title: Need help "Set Event Location" and "Transfer Player"
Post by: Rexilia on April 21, 2010, 04:47:25 AM
Hello!

I have a maze in my game.
I want to make something like a "placeholder" (the placeholder sprite is an arrow
pointing north) so the player don't get lost in the maze.

The arrow sprite is in the same map but outside the view.
When the player press Q the arrow should appear in the same spot as the player.
I already did this with X and Y coordinates (set event location) and it works,
but when the player transfers to another map and then go back into the maze the placeholder is not there.

I want it so it don't get moved once its placed.  :lol: :lol: :lol: :lol: :lol: :lol: :lol:
How should I do it?
Title: Re: Need help "Set Event Location" and "Transfer Player"
Post by: modern algebra on April 21, 2010, 05:26:24 AM
Well, one way I can see is just save the X & Y Coordinates from when you set event location. Then, when you re-enter the map, just have a parallel process event set the placeholder to the X & Y coordinates that you've saved from the first time the player pressed Q and then erase.


There might be an easier way that I'm not thinking of though. It's 2AM
Title: Re: Need help "Set Event Location" and "Transfer Player"
Post by: Rexilia on April 21, 2010, 05:28:44 AM
It works!!
Thank you Modern Algebra.
You are the man.