Hello, I've at least 100 random events in my game. They appear every 10 seconds. They are like:
1)There is a pandemic. Will you open hospitals?
-Yes -No
2)They kidnapped you. Will you try to run?
-Yes -No
3)There was an earthquake. Will you run for help to people?
-Yes -No
Every yes and no answer has its own consequences. For example: If my player says Yes, his popularity will increase by 50, his money will increase by 1000 and his success will increase by 20. Money, popularity and success are my three global variables. So, when my player chooses yes or no my global variables will change accordingly. Yet, I don't know how to do that. Here's my array:
If you share an example I would appreciate it.