Countdowns issue
Hi guys,
I am trying to make a countdown that once actor A overlaps actor B then timer will start countdown from 7.
Two things are wrong. 1) the timer will not countdown for some odd reason. 2) I am trying to reset the countdown to 7 once actor A overlaps actor B, but still have a countdown.
So, once FLYER hits GATE then timer = 7, but start countdown to 0.
If countdown = 0 then score multiplier = 0.
Thanks
I am trying to make a countdown that once actor A overlaps actor B then timer will start countdown from 7.
Two things are wrong. 1) the timer will not countdown for some odd reason. 2) I am trying to reset the countdown to 7 once actor A overlaps actor B, but still have a countdown.
So, once FLYER hits GATE then timer = 7, but start countdown to 0.
If countdown = 0 then score multiplier = 0.
Thanks
Comments
doTimer (type = boolean and set it false)
theTime (type = integer and set it to 0)
When the two actors collide
-- Change Attribute: doTimer To: true
otherwise
-- Change Attribute: doTimer To: false
When doTimer = true
--Change Attribute: theTime To: 7
When theTime > 0
-- Timer: Every 1 second
----Change Attribute: theTime To: theTime -1
Hope this helps!
RThurman
with scoreMultiplier
@};- MH
I have a lot of attributes that are constrained working at once, so it is really hard to keep a track of where the attributes are constrained in what actor, and make the logic right. Once I do this I can update my game on the app store and get some good reviews. I had a bad review online so I wanted to change what they said to change. That way my gameplay wont take me down to a 1.6 out of 10. haha.