Help pushing event

● ARCHIVED · READ-ONLY
Started by Escape 3 posts View original ↗
  1. When i push a rock, it will play sound and move. But when the rock stuck and i pushing it still play sound. So how should i do to shut up the rock when it stuck.
    .
    .
    .
    Sorry for my bad english :3
  2. I think you just need to turn on a self switch at the end and make a second blank page in the event. If that's not the case, would you be able to upload a picture of the event to help get a better idea?
  3. Instead of just doing the move route, you can first check to see if the rock can move in the desired direction.

    Add a conditional branch first with this in the script box as the test:
    Code:
    evt = get_character(0); evt.passable?(evt.x, evt.y, $game_player.dir)

    and put the move route in the 'true' branch.

    Edit ... oh - check the Direction Fix box so the rock doesn't change sprites slightly when you interact with it. Then add Direction Fix OFF to the start of the move route, and Direction Fix ON to the end of the move route. That way the sprite will only change when the rock actually IS moving.

    @nakina, he's not asking how to stop the rock from moving - he's asking how to stop it from making a sound when you push it, if it can't move.