Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: zuhane on March 06, 2011, 04:11:30 PM

Title: Embarrassing location problem.
Post by: zuhane on March 06, 2011, 04:11:30 PM
I feel so ashamed! This is so basic, but I've just absolutely forgotten completely! Does anyone know
what I need to do to to enable an event to occur if an event is in a particular space on the map. E.g. If
I pushed a rock into a hole to make something happen, for example.

Cheers!  :blush:
Title: Re: Embarrassing location problem.
Post by: SaiKar on March 06, 2011, 05:15:18 PM
It's not as easy as it should be. Set up a parallel process event to record to the X and Y positions of the event in question (via Operand > Sprite > X Coordinate) and then set up another event to trigger when X and Y equal the values of the X/Y coordinates of the hole.

If you need me to do a mockup, I can do that, but this should jog your memory.
Title: Re: Embarrassing location problem.
Post by: zuhane on March 06, 2011, 05:54:23 PM
That's the thing. How do you record the X/Y positions of an event? 'Memorize Location' just applies
to the-

Aha! Found it! It's in the 'Variables' section. Thanks for jogging my silly memory, SaiKar! :D
Title: Re: Embarrassing location problem.
Post by: SaiKar on March 06, 2011, 05:56:40 PM
Guh. Failsai. I didn't mention variables at all when I thought I did.

Well, glad it helped.
Title: Re: Embarrassing location problem.
Post by: zuhane on March 06, 2011, 06:19:52 PM
Oh yes! Prepare to see the best puzzle game ever created in RPG Maker!!! Not... :(