Hi, everyone!
I’m trying to set up a system where some events (like obstacles) appear randomly each time I enter the map. If they "fail" the random roll, they should erase themselves.
Here’s how I set it up:
Even when the randomizer variable is set to 1, the event will appear for a moment but still erase itself. It seems like it rerolls or erases again even when it shouldn't. What could I be doing wrong?
I’m trying to set up a system where some events (like obstacles) appear randomly each time I enter the map. If they "fail" the random roll, they should erase themselves.
Here’s how I set it up:
- I created a separate event that sets a random variable between 1 and 2.
- Then, in each obstacle event, I check:
- If Randomizer == 2, the event erases itself.
- else, it runs its usual behavior (moving around, interacting, etc.).
Even when the randomizer variable is set to 1, the event will appear for a moment but still erase itself. It seems like it rerolls or erases again even when it shouldn't. What could I be doing wrong?