TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
How to stop timer?
Pages:
1
How to stop timer?
Risbo
Posts: 33
March 03, 2014, 05:39:28 am
I got a small problem butt can't solve it im stuck in this and ask for your help! I got a timer function it decreases the time now i want to stop the timer when it reaches zero, i got this time attribute and stop(effect). and i got this IF TIME <=0 stop time but it wont work
SadiQ
Posts: 1795
March 03, 2014, 05:56:07 am
To stop your timer you need a boolean attribute that will only let your TIME attribute decrease while such boolean is true. You also need to change it's value to false when your TIME is equal to 0.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.
Risbo
Posts: 33
March 03, 2014, 06:24:29 am
tnx
Pages:
1