Hi all! Because I'm not planning to have any random encounters in my game (there will be some combat, but it happens at specific times/points in the story), I wanted to instead give the player small, random amounts of gold as they walk around. I feel like this is going to involve loops and conditional branches, so I tried to combine those to the best of my (fairly limited) ability.
(I know it says the trigger is "none" but don't worry, I have an event on my test map to call this)
To explain a little bit: I've set up two variables, one to store the number of steps walked, and another to generate a random number between 10 and 100. I kind of tried to make it so every 50 steps the loop would "reset" the variable and start over, but I don't think I did it right... The break loop command is there to make sure you can't just run around endlessly and get a bajillion gold 😛
Anyway! I haven't gotten this to work yet, could someone tell me what I'm doing wrong?
Thanks~
(I know it says the trigger is "none" but don't worry, I have an event on my test map to call this)
To explain a little bit: I've set up two variables, one to store the number of steps walked, and another to generate a random number between 10 and 100. I kind of tried to make it so every 50 steps the loop would "reset" the variable and start over, but I don't think I did it right... The break loop command is there to make sure you can't just run around endlessly and get a bajillion gold 😛
Anyway! I haven't gotten this to work yet, could someone tell me what I'm doing wrong?
Thanks~