Hi everyone. I need some help
I’m trying to make a random money event (random reward), but it doesn’t work correctly and I can’t understand what the problem is.
What I did:
After that, each switch has its own event page that gives a different amount of gold.
Problems:
It looks like all events are using the same variables and switches.
Questions:
I would really appreciate any explanation or example
I’m trying to make a random money event (random reward), but it doesn’t work correctly and I can’t understand what the problem is.
What I did:
- In one event I use
Control Variables: CoinRandom = Random No. (1..5) - Then with Conditional Branches I turn ON switches:
- Coin1
- Coin2
- Coin3
- Coin4
- Coin5
After that, each switch has its own event page that gives a different amount of gold.
Problems:
- The random works inconsistently — sometimes it gives the wrong result.
- When I copy this event, then:
- the copy and the original activate at the same time
- or the random does not work separately for each event
- sometimes only one event works, as if they are linked together
It looks like all events are using the same variables and switches.
Questions:
- Do I need separate variables for each event?
- Should I use Self Switches instead of normal Switches?
- What is the correct way to make a random money event so every copy works independently?
I would really appreciate any explanation or example