on (release) {
clickcounter = 0;
if (valueNum == 20) {
nextFrame();
}
else if (clickcounter eq 0) {
nextFrame();
nextFrame();
nextFrame();
}
else {
nextFrame();
nextFrame();
nextFrame();
nextFrame();
clickcounter += 1;
}
}
|
Each time i test scene and type any other value other than 20, it only play the
else if one but never the
else one. I want user to be given 2 tries to try guess and the answer. After 2 tries, a popup will be shown saying "Incorrect, the correct answer is 20."