Page 1 of 1

Posted: October 22nd, 2006, 11:30 pm
by Drofder2004
Hud's.

Create using "var = newHudElem()" or a client hud... "var = newClientHuDElem(self)"

Search for 'hudelem' inside the gametype gsc files, that will show you how to make the hud.

Then to update the hud values, you need 2 things...

Firstly if you want to update a text value, you must have precached the text first (and also to remove errors, localise it also) If you want just a number, it doesn't need prechached.

To store a value, use...

self.<var> = value;

for example, to get the score of a player, the game has already used self.score

Look in the gametypes files to creating a clock.

Posted: October 23rd, 2006, 1:15 am
by Drofder2004
replace break with the word return.