|
Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Wac Programming for a countdown timer
although i know some basic wac commands like getting music to play and text to appear and make certain Decorations look like they are flying i cannot for the life of me figure out how to get a countdown timer to appear can anyone help me with this?
__________________
Gene |
#2
|
||
|
IN-GAME COUNTER
These scripts create an in-game counter during game play. This script was created by GENERAL ELECTRIC (NOVAWORLD FORUM) A.) counter that counts the seconds into the game: if never then set(v60,0) ; s into game set(v70,0) ; helpvar s set(v80,0) ; m into game set(v90,30) ; cd m Minutes for countdown set(v100,59) ; cd s endif if elapse(1) then inc(v60) inc(v70) dec(v100) endif B.) converting seconds into minutes if eq(v70,60) or eq(v60,1) and ne(v90,0) then inc(v80) set(v70,0) dec(v90) set(v100,59) endif C.) Making a countdown if elapse(2) then consol#("Minutes left",v90) consol#("Seconds left",v100) consol("Countdown") D.) making a timer instead of countdown if elapse(3) then consol#("Minutes played",v80) consol#("Seconds played",v70) consol("Gametimecounter") E.) trigger for countdown if eq(v90,0) and eq(v100,0) and never then text("Countdown finished") endif or do a simple counter using chain (this is my script) if ssnarea(10000,1) and never() then text("You have 1:00 minute left") Wave("happy1.wav",1000) endif if chain(30) and never() then text("You have :30 seconds left") Wave("happy1.wav",1000) endif if chain(20) and never() then text("0:10") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:09") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:08") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:07") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:06") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:05") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:04") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:03") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:02") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then text("0:01") text("") text("") Wave("happy1.wav",1000) endif if chain(1) and never() then // player is dead killSSN(10000) text("You're dead") endif
__________________
|
#3
|
|||
|
Quote:
__________________
Gene |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
map timer | imtheone | Tech Support | 17 | 05-27-2009 08:37 AM |
Greetings from an old timer | Nap | Feedback / Novahq.net Support | 1 | 05-13-2007 01:22 AM |
countdown | Grenademan | General Chat | 14 | 04-13-2007 02:34 AM |
wac programming (women Are Cute ) | bigsmellyfart | Humor & Jokes | 1 | 08-06-2005 02:26 PM |
Countdown star dies | -Tigger- | General Chat | 6 | 06-28-2005 06:18 AM |