- Joined
- Jun 12, 2018
- Messages
- 59
- Reaction score
- 22
- First Language
- English
- Primarily Uses
- RMMV
I am trying to make a simple boulder pushing event, where the player can push the boulder into a hole and then
the hole is sealed, allowing them to pass.
1. I have one boulder which moves away from the player upon being touched.
2. I have 2 separate holes, each one leading to a different treasure, forcing the player to come back for the other
3. I have a parallel process event which constantly checks the location of the boulder
4. I have a conditional branch which states that if the boulder is within one space of the hole, it activates a switch
5. When the switch is activated, the holes activate "through" so the boulder can pass through them.
6. When the switch is activated, the parallel process switches to another page, also parallel, which constantly checks the location of the boulder to see when it has been pushed onto the hole.
7. When the boulder is pushed onto either hole, it activates a corresponding switch
8. When the switch is activated, both the boulder and the hole are supposed to disappear.
9. When the player leaves the area, a parallel process activates outside the area and turns all switches off so they can go back for the other treasure.
Everything works as expected with the exception of the hole and boulder being removed when they make contact. For some reason, they both stay visible, but I am able to walk through the hole and continue pushing the boulder past it.
Can someone help me figure out what went wrong?
the hole is sealed, allowing them to pass.
1. I have one boulder which moves away from the player upon being touched.
2. I have 2 separate holes, each one leading to a different treasure, forcing the player to come back for the other
3. I have a parallel process event which constantly checks the location of the boulder
4. I have a conditional branch which states that if the boulder is within one space of the hole, it activates a switch
5. When the switch is activated, the holes activate "through" so the boulder can pass through them.
6. When the switch is activated, the parallel process switches to another page, also parallel, which constantly checks the location of the boulder to see when it has been pushed onto the hole.
7. When the boulder is pushed onto either hole, it activates a corresponding switch
8. When the switch is activated, both the boulder and the hole are supposed to disappear.
9. When the player leaves the area, a parallel process activates outside the area and turns all switches off so they can go back for the other treasure.
Everything works as expected with the exception of the hole and boulder being removed when they make contact. For some reason, they both stay visible, but I am able to walk through the hole and continue pushing the boulder past it.
Can someone help me figure out what went wrong?