Stop scenario after X amount of times... how? #759
|
Been using this for a long time. I feel like the old UI had a setting where we could stop the scenario after it did a certain amount of cycles. In the current version, I can't seem to figure out how to set this up. I've tried going through tutorials, which doesn't cover this, the wiki, which maybe covers it, but I can't seem to figure it out because there is no tutorial for this exact thing. I'm not sure I understand what to do. I've tried setting it up with what I would assume would be working, Trigger Events. But the way it is laid out, I have no idea how to get it to count the amount of times a scenario hits a cycle. My scenario is set up with 2 screen events, one for basic clicks (buttons) and the other for clicks when the game shows a certain player position. The cycle is as follows: start button click, player position change clicks (15x) and then finally a restart button click that restarts the game mode and does it all over again. So... is there a way I can set up a trigger that says if the start button has been clicked 10 times, stop the entire scenario? For the life of me I can't figure it out within the Triggers tab. I've tried "On counter reached" which I can't figure out. Help anyone? |
Replies: 1 comment 1 reply
|
Yes, create a counter, every time the action presses it increases the counter also and when the counter reaches 10 make the script stop. |
Yes, create a counter, every time the action presses it increases the counter also and when the counter reaches 10 make the script stop.