Clock!??!?!

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
kkcahdcakcyt
Sergeant
Posts: 71
Joined: Wed Aug 03, 2005 11:16 pm

Clock!??!?!

Post by kkcahdcakcyt »

Well, I've tried. But my knowledge is too limited and I am to noobish in my scripting ways.

I can't figure out how to script a clock for king of the hill so that when one player touches the hill the clock will start at 20 and count down. Then if a player from opposite team comes the time will be stopped at w/e it was and resumed if the 'intruder' leaves. If the intruder wins the clock is started over at 20 secs.

It seemed so simple yet i can't get it to work.
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

What are you useing for the clock an onscreen timer ? a script_object ?
Image
kkcahdcakcyt
Sergeant
Posts: 71
Joined: Wed Aug 03, 2005 11:16 pm

Post by kkcahdcakcyt »

viper answered it...
i was hoping for onscreen timer but i can always live w/o it.
not knowing enough about scripting can make things really frustrating
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

bdbodger was helping me a ways back try to get a clock working with the above linked trigger logic but i gave up on it.
Post Reply