When the user has whatever score, I need it to go to a specific frame and play. Apparently, the script I’m using is only sending it to one frame no matter what score. (which is 170.) Is my script wrong? (This script is in a frame. The score comes from button actions, its a quiz.) Thanks!!
if (score + 0)
{
gotoAndPlay(174);
}
else if (score + 1)
{
gotoAndPlay(170);
}
else if (score + 2)
{
gotoAndPlay(166);
}
else if (score + 3)
{
gotoAndPlay(162);
}
else if (score + 4)
{
gotoAndPlay(158);
}
else if (score + 5)
{
gotoAndPlay(154);
} // end if
// end if