Hud element active score
Posted: Fri Mar 05, 2004 2:25 am
I'm working on a map that has an active scoreboard on the screen. But, it is constantly blinking, and there is a localization error for every blink--see code below. I noticed in the global message.scr that it uses "hud elements" to print hint messages in the center of the screen--I'm using it to display a 30 second warning. So my question is, how can I use hud elements to display an active scoreboard?
Screen location is:
level.subtitleX = 89
level.subtitleY = 50
Code: Select all
announce_points:
while ( 1)
{
locprint level.subtitleX level.subtitleY ("Countdown: " + (level.counter) + " seconds" + "\n" + "Missile health: " + (level.misslehealth) + " percent" )
wait .9
}
end
level.subtitleX = 89
level.subtitleY = 50