Whoah, you’re at our level cap. Good job, you rock! Here, have some cake.
Community Get activity updates from around Kongregate.
Explore Kongregate & earn 10 kreds Here are your 10 free kreds Explore Kongregate & earn a trophy Here’s a shiny trophy for you 15%
Keep exploring Kongregate with more badges and games!
Hide the progress bar forever? Yes No
9 posts
Sign in to reply
how would i make it so that when a variable reaches 6 you go to a certain frame
any help here
you need to give more info is the scene going to a new frame or is a movie clip, and what is the variable called?
the variable is score and when it reaches six i need to gotoandplay 297 btw i need the scean to play
Just make it check to see if the variable reached 6 whenever you changed it.
idk but maybe somthinglike
if (score == 6) {_root.gotoAndPlay();}
could wourk
I don’t know the specifics of action script, but here’s an example of how you might do it.
In the object that changes score:
someone convert that to action script.
Put this on the frame:
onEnterFrame = function() { if (score == 6) { gotoAndPlay(297); }
Cloud, you’re pretty much correct lolz.
hurray im getting grood!!…i mean. good…and great…good and great
X
Loading