Page 1 of 1

script for my bomb

Posted: Fri Sep 10, 2004 4:59 pm
by At0miC
I'm trying to make a custom script for a custom bomb:

The player must hold the use buttom for 5 seconds to the trigger, so the custom bomb would be harmless. But if the player stops with holding the use buttom, before the 5 seconds are over, he must start again with 5 seconds.

Could someone give me that piece of script plz?
And if it possible, it would be nice if there would popup a stopwatch.

Thanks

obj

Posted: Sat Sep 11, 2004 6:02 am
by tltrude
If you study the global/obj_dm.scr script you will see it has the stopwatch and timer. In that script it is used to set the bomb, but you should be able to change it to disarm a bomb without much trouble.

Posted: Sat Sep 11, 2004 9:05 am
by At0miC
ok done, thnx tom. :wink: