Epyo
Dude

Posts: 2921
Registered: 06-02 |
code:
hudmessage (d:countd, s:" Seconds Until Explosion", HUDMSG_FADEOUT , 0, CR_RED, 1.0, 0.0, 1.0);
Try that. Just for your information btw...
code:
hudmessage (s:"put text here", HUDMSG_SOMETHING , ID, CR_COLOR, x-axis, y-axis, time);
HUDMSG_SOMETHING can be either HUDMSG_TYPEON or HUDMSG_FADEOUT, or something else I forget.
The ID is the id number of the hud message. If you have multiple hudmessages at once, this comes in handy.
CR_COLOR is the color.
x-axis is where it appears on the screen (left or right) 0.0 is left side, 1.0 is right side.
y-axis is where it appears on the screen (top or bottom) 0.0 is top side, 1.0 is bottom side.
Time is how long the message should stay in SECONDS! Like 1.0 is one second. 0.0 is infinity. If you want to get rid of an infinite message, you have to make another hudmessage with the same id, but make it say " ".
Somebody else is probably gonna come and correct me on everything I just said soon, so you might wanna wait for them :)
EDIT: DOH I DOUBLE POSTED. Just forget that last post thanks.
__________________
Pacman Doom 2 Play with latest version of ZDoom!
|