RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

pushing block puzzle help

Started by gotix, December 30, 2006, 03:33:47 AM

0 Members and 1 Guest are viewing this topic.

gotix

I have an event called "crate" with a "action key" trigger and this code:

<>Move Event:: This Event (Ignore Impossible moves)
:                      :<>Move away from hero
<>Wait: 5 Frames
<>


How can i make it so that when it is in a certain spot, the value of a variable goes up? I tried to do this with events, but it didn't work.

Zeriab

You can try looking a minigame called Gamos I made long ago: http://rmrk.net/index.php/topic,166.0.html
It might be too much for what you are trying to do though...
If you want to do it with events then Terrain Tags is a good idea if you have several spots.
Otherwise you can try to make a basic x- and y-coordinate check.

gotix

and how do you do the x and y coordinate check? (me = noob)

Me™

Variable Operations : Variable is this events X tile
Variable Operations : Variable is this events Y tile

in the event you want the x and Y from.
ALL HAIL ME™