Forum rules - please read before posting.

Set a pause using code

edited October 2014 in Technical Q&A
I'd like to implement a special effect to the score menu.
So if I'm at 0 score and I receive 100 points the score system shows the count on the menu.

0 -> 1 -> 2 -> 3  -> 4 -> ...  -> 100

I want to create this using code and implementing a new specific action list, but I need to implement a SMALL PAUSE.

----- Main Code
while (remainBonus > 0)
{
currentScore = AC.GlobalVariables.GetIntegerValue(0);
AC.GlobalVariables.SetIntegerValue(0, currentScore ++);
remainBonus --;
//SET A PAUSE HERE
}

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.