Falling Boulder Puzzle (ish)

How would one approach a system like this:
1. A boulder falls down from a pipe on the ceiling
2. It hits a directional orb that changes the direction of the boulder
3. If the boulder hits you, you take damage.
I'm using Ace and I currently have Hime's custom event triggers to handle the collision of the boulder and the directional orb.

What I've got going on now barely even begins to work. The boulder goes down only when it's visible on the screen. Then it just keeps going straight down and doesn't change direction. I know I need a switch or something for the first page to be triggered at all, but I'm not sure where to set that up.

1631061903520.png

1631061931350.png
Both pages have no condition, so only the last page will play.
But nothing will happen there, because var 093 isn't set.
You need a line saying: control var 093 random 1 to 4.

The "trigger" you can set in on the ground in the area around where you would like the boulder to drop, or start to drop.
That can be triggered with an "player touch" event.
Then run that event to set the triggerswitch to on.

I hope you understand what i'm trying to say, english is not my 1st language.
No, that makes perfect sense. The "I haven't set the variable" thing, though, I actually set it in another event. This is just the event for the boulder. The directional orb works fine. ^w^

Original thread: https://forums.rpgmakerweb.com/threads/falling-boulder-puzzle-ish.140253/