| 07-13-2002, 01:50 PM | #1 |
OK three questions, anyone qho can help will be greatly admired by me (arent you lucky :P) First thing - Timers. i want to know how to set up a timer that is displayed on the screen, and i want to know how to make another timer appear after that timer runs out. Second thing - Leaderboards. i want to know how to set the leaderboards, i just cant figure them out (i want it to display the amount of kills a player has) Third thing - Timed spawning. at the start of a timer, i want to know how to make units spawn at regions. for example. if a timer starts that is set to 5 minutes, i want 'unit A' to be created at 'region A'. but i only want him made at the start of the timer, not during it. thanks for any help! (BTW, im creating a remake of outpost 30 from SC if your wonderin) |
| 07-14-2002, 02:06 AM | #2 |
Ok, here goes.... Q - I want to know how to set up a timer that is displayed on the screen, and i want to know how to make another timer appear after that timer runs out. EVENT (what event you want to occur for the timer to appear) ACTION Trigger - Turn off (this trigger) Countdown Timer - Create a (one shot) timer that will expire in (x seconds) variable - set [x(create a variable for this timer)] to (last created timer) -- now for the second one... --- EVENT Time elapsed is 1 second CONDITION Real Comparison - Countdown timer (x) is exactly "0'' ACTION Trigger - turn off this trigger Countdown timer - remove timer (x) Countdown timer - create a one shot timer that will expire in (... seconds) Variable - Set (y) to last created timer ----------- Q - Leaderboards. I want to know how to set the leaderboards, I just cant figure them out (i want it to display the amount of kills a player has)... Answer: EVENT When you want the leaderboard created... ACTION Leaderboard - Create leaderboard titled "Number of Kills" Leaderboard - Add player ( add all players you want on the leaderboard. --- And for their kills--- EVENT (Unit) dies ACTION Leaderboard - chage value for player(whichever player killed them) to (X) or a function like starting units-remaining units. Q - Timed spawning. at the start of a timer, i want to know how to make units spawn at regions. for example. if a timer starts that is set to 5 minutes, i want 'unit A' to be created at 'region A'. but i only want him made at the start of the timer, not during it. EVENT - Time elapsed is 1 second. CONDITION Real Comparison - Timer is equal to 5 min.(300 sec.) ACTION Unit - Create unit (X) at region (Y). |
| 07-14-2002, 06:16 AM | #3 |
Go to the Tutorials section! There's a LEADERBOARD Tutorial with an example map. Go check it out! http://www.wc3campaigns.com/modules....al+-+By+Mr.123 |
| 07-14-2002, 07:14 AM | #4 |
thanks lots guys |
