Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / 2 text huds with a timer?

Author
Message
Nighthawk 4
16
Years of Service
User Offline
Joined: 20th May 2008
Location:
Posted: 31st May 2008 21:59
hi, i have made a text hud, but i want it to fade away after 6 seconds (which works) and after 0.5 seconds after that a new message appears.(which is my problem)

now, i have made a script for both huds, and tried to put 2 trigger zones on the same place.

message 1: (works)


then, message 2(i think it works if you put it alone, but not sure)


now, i tried to put them all together, so i didn't need a second trigger zone (and the attempt with 2 trigger zones didn't work)


does anyone have an idea?

this is my rifle, this is my gun,
this one's for killing, this one's for fun.
0 Geoff 0
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location:
Posted: 31st May 2008 23:53 Edited at: 31st May 2008 23:55
Heres the problem just a simple error in states, you did'nt have a line with state=6. Also try not to use the timerstart action twice in the one script as timers are global and can get messed up sometimes. Also i think you should have created the hud at the start of the script but im not sure if that actually matters it's just a habit of mine. Heres the script



CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 1st Jun 2008 02:01
Also, put TIMERSTART after the 2nd colon, it's an action, not a condition....

Login to post a reply

Server time is: 2024-11-24 09:05:01
Your offset time is: 2024-11-24 09:05:01