Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: barefoot on Sat 18/06/2011 10:27:30

Title: Is it possible to make a label (@Score) not be blocked?
Post by: barefoot on Sat 18/06/2011 10:27:30
Hi

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

cheers

barefoot

Title: Re: Is it possible to make a label (@Score) not be blocked?
Post by: monkey0506 on Sat 18/06/2011 11:13:00
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:

function repeatedly_execute_always()
{
  lblScore.Text = String.Format("Score: %d", game.score);
}
Title: Re: Is it possible to make a label (@Score) not be blocked?
Post by: barefoot on Sat 18/06/2011 12:49:35
Cheers Monkey

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

:=

barefoot