HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

contdown timer reached, create victory win how???

05-08-2005, 08:59 PM#1
corley
what is the triggering to make it so, when a countdown timer reaches 0, the player wins? thx for any help
05-08-2005, 11:24 PM#2
Hivemind
Events
Time - Timer expires

Conditions
None

Actions
Game - Victory Player 1 (Red) (Show dialogs, Show scores)


You will need to specify the exact timer. So its best to make a timer variable for that specific timer. You can add conditions to the trigger to prevent it from going off unless those conditions are met. You can also use a vartiable instead of player 1.

If you dont know how to use variables take a look at the tutorial section. You should not attempt to do any triggering without knowing the basics of variables. You shouldnt do anything more than very simple triggers without understanding arrays. Arrays are your friend....know them....love them.
;)
05-09-2005, 12:13 AM#3
corley
okies it works, but now my countdown timer doesnt coutn down it stays at 0 seconds lol, anyway thx for the help m8 *gives +rep* thx again
05-09-2005, 12:25 AM#4
Raptor--
Untitled Trigger 001
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for var_timer with title Till Victory--
Countdown Timer - Start var_timer as a One-shot timer that will expire in 1200.00 seconds

that will start your timer
05-09-2005, 10:29 AM#5
corley
the timer doesnt start straight of, its like half way through the map u get a new objective so how would i trigger this, or use as an event? because ur current event is for when the map starts up, thx thought this helps
05-09-2005, 01:48 PM#6
Anitarf
You would use the same event (elapsed game time equal to...), but with a different value for the time. If you set it to 60, the trigger will run one minute after the game starts. If you set it to 3600 that will be one hour after game starts.
05-09-2005, 05:30 PM#7
corley
but i dont no the time the trigger will start as it starts when a hero reaches such a point in the game and completes 1 quests and gains this new countdown 1, it all works except my countodwn timer is stuck at 0, plz help
05-10-2005, 07:30 AM#8
Raptor--
well, whatever trigger event you used to complete the first quest, append the timer starting stuff to the end of that trigger so it starts it once u finish the first quest
05-10-2005, 11:14 AM#9
corley
well, i know how to make the countodwn timer and when etc, but it doesnt countdown it stays at 0, i made a 2nd 1 and this workd but it sits next to the original 1 and looksshabby having two, this is the trigger im using is this correct.

Countdown Timer - Create a timer window for (Last started timer) with title Time Remaining
Countdown Timer - Start lol as a One-shot timer that will expire in 1200.00 seconds
05-10-2005, 11:16 AM#10
Anitarf
In the first line, replace (last started timer) with lol.
05-10-2005, 02:44 PM#11
corley
hehe thx, its such a simple and stupid mistake, thx again everyone for your help, especially Anitarf!