Is it possible to make a label (@Score) not be blocked?

Started by barefoot, Sat 18/06/2011 10:27:30

Previous topic - Next topic

barefoot

Hi

Is it possible to make a label  (@Score) not be blocked?

cheers

barefoot

I May Not Be Perfect but I Have A Big Heart ..

monkey0506

Not be blocked by what? If a label with @SCORE@ isn't updating during blocking functions (or I'm thinking probably during dialogs?), then you could do it manually, which isn't that difficult.

If it is indeed dialogs, then you need to make sure that the option is properly set in the General Settings to allow it.

Either way:

Code: ags
function repeatedly_execute_always()
{
  lblScore.Text = String.Format("Score: %d", game.score);
}

barefoot

Cheers Monkey

works a treat now.. timer label keeps running... I must remember rep exec always.

:=

barefoot
I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk