farsmile90 That doesn't really take into consideration escalation though.
42t I suggest doing something like this.
Since the duration for the different point values are different, 20 seconds for 10 points and 10 seconds for 50 points, an every x seconds toggle wont do.
Make 2 global variables "50PtsDuration" and "10PtsDuration", and make 1 boolean "50PtsToggle".
What you wanna do with these is use them as separate timers and instead of counting up, we count down.
+ Start of Layout
- Set variable "10PtsDuration" to 20
- Set boolean "50PtsToggle" to false
+ Every 1.0 Second
- Subtract 1 from variable "10PtsDuration"
- Subtract 1 from variable "50PtsDuration"
+ Variable "10PtsDuration" is lower, or equal to, 0
- Set variable "50PtsDuration" to 10
- Set boolean "50PtsToggle" to true
+ Variable "50PtsDuration" is lower, or equal to, 0
- Set variable "10PtsDuration" to 20
- Set boolean "50PtsToggle" to false
+ (your events for picking up rings)
sub + 50PtsToggle is true
- (your events for adding 50 points to score)
sub + 50PtsToggle is false
- (your events for adding 10 points to score)
Essentially when one timer reaches zero it restarts the other timer, and we don't have to count the actual seconds.
You could do this without the boolean and just use "'10/50PtsDuration' is greater than 0", but I personally think using the boolean makes it a bit cleaner.