How can I push a rock on a switch?

● ARCHIVED · READ-ONLY
Started by celebrus 4 posts View original ↗
  1. Hi everyone.

    I want the player to be able to push a boulder on a switch.

    It seems like it would be really easy: Set the switch to below characters and the rock to same layer. But no... I guess two events don't want to occupy the same tile.

    What can I do to force the boulder onto the switch?

    Thanks!!
  2. Set the boulder to "Through".
  3. If the boulder is "through" it doesn't activate the switch...

    EDIT: Actually, if the boulder is set to through, the player would walk through it. If the switch is through, the boulder won't activate it.
  4. Hmm. Well... Have the switch event be set to through immediately after activation. Should be pretty seamless.

    Alternatively, you could set it up with region IDs [or MapX and Y] and a parallel process event. This tutorial goes over though how to set up the parallel process:

    http://forums.rpgmakerweb.com/index.php?/topic/3402-jumping/

    The parallel process event will check the Region ID/Location of your event [the rock], and once that event is over the "Switch" [Region ID 1 for example] the event will trigger.

    There's probably an easier solution to this, since this is a commonly used mechanic... but I can't think of one.