I want the stopwatch to run as long as one or more team members is in the trigger. I want it to break if they all leave the trigger or if an opossing team player enters the trigger?
Also -
while(1) the stopwatch keeps starting over every frame unless player leaves the trigger, how do i get just one trigger event per teams initial activation of the trigger?
TY bdbodger, i've been fooling around with this stopwatch so long I was about to scrap the idea. There is a problem with my script however, I'll try to get it working and if i cant in the next couple days ill post the whole thing.
I mean I know I could just copy and paste but I like to understand what the numbers are doing and sometimes trial and error just doesn't give all the answers...
huddraw_rect 187 140 -84 50 50 // size on the screen
//the last four numbers are pixcles for the sides of a rectangle (box where things will be drawn).
huddraw_color 187 local.r local.g local.b // color of the text
//the last three variables (.75 .65 .1) are RGB numbers from the the thread above.
huddraw_font 187 "facfont-20" //game font to use
huddraw_string 187 local.nstring //string to print
//the variable is set in the thread above.
huddraw_align 187 left bottom // general location on the screen to place the box.
huddraw_alpha 187 1 // 1 means the background of the box is see-through.
That's all I can remember for now. There are more huddraw things that can be set.
Last edited by tltrude on Sun Sep 03, 2006 10:19 am, edited 1 time in total.
Yeah, Tom's very right. It's the element number in an array of 256 (from 0 to 255). If you use the same ID for 2 different things, one of them is going to be overwritten.