Warcraft III resources & community, 2003–2006 · archived

TD's

11 posts
#1

TD's

hi i'm back i was wondering how all the variables work in a td becous i have looked over them and i really dont get the part with the integer thats all yibrish to me so if you could help me make a td with only waves i would be verygreatfull thanks in adnvance o and btw the work u guys do here is really awsome thank you very much
#2
I suggest you open any TD and check how they did. I could tell you myself, but i'm too lazy for that...

EDIT: Oh, see you've already done that... Then try again, or post the triggers here and we can explain them part-by-part. GL
#3
Variables:
FirstSpawnTimerWindow Timer Window -None-
Monsters Unit-Type Array(1) -None-NextLevel Integer 1

Trigger: timer
Event:-
Conditions:-
Actions: Countdown timer- Start Timer as a One-shot timer that will expire in 20 seconds
Countdown timer- Creat a timer window for Timer with title first spawn in:
Set FirstSpawnTimerWindow = (Last created timer window)

Trigger: Start spawn
Events: Time- Timer expires
Conditions:-
Actions: Trigger- Turn on Next level <gen>
Trigger- Run Next level <gen> chekking conditions

Trigger: Next level
Events: player 12 (Brown)'s food used becomes less then or equal to 0.00
Conditions: Monsters [NextLevel] not equal to no unit-type IsGameOver equal to false

thanks for the suggestion and the help m8
#4
WeeniedogVariables:
FirstSpawnTimerWindow Timer Window -None-
Monsters Unit-Type Array(1) -None-NextLevel Integer 1

1) The timer window. Nothing relevant.
2) The type of monsters spawn. Arry should be the level.
3) Integer can mean many different things, but it should be what levelm you're on.
Weeniedog
Trigger: timer
Event:-
Conditions:-
Actions: Countdown timer- Start Timer as a One-shot timer that will expire in 20 seconds
Countdown timer- Creat a timer window for Timer with title first spawn in:
Set FirstSpawnTimerWindow = (Last created timer window)
The timer window. When it has expired, it'll spawn the next level.
Weeniedog
Trigger: Start spawn
Events: Time- Timer expires
Conditions:-
Actions: Trigger- Turn on Next level <gen>
Trigger- Run Next level <gen> chekking conditions

Trigger: Next level
Events: player 12 (Brown)'s food used becomes less then or equal to 0.00
Conditions: Monsters [NextLevel] not equal to no unit-type IsGameOver equal to false
This Runs X when the Timer window expires and there's no units on creeps on the map if you haven't lost or the Monsters have a unit-type. You should've written down the Actions too, couz they're the most important part of the trigger. Also look out for an initial trigger that's filled with;
"Set NextLevel= NextLevel + 1",
"Set Monsters[NextLevel] = <Unit-type>",
And stuff like that, that sets the level. Or else they did it another way, but that's how i made mine.
#5
well this might be a litlle to much but do yout hink you could make me a map with like 2 or 3 lvls and nothing else no timers or towers or shit just a feww waves i would be very greatfull
#6
Ok, i have nothing to do right now anyway...
#7
Done. Got most of the basics in a TD in this playable, 4-level map. I recommend trying it to get the triggers and to see how they work.
Your mail is...? (PM me if you like)
#8
cool thanks alot dude :D well my email is [email protected] and i dont even know how the private message works so :P
#9
Sent!
#10
cool thanks dude!! :D
#11
No Problem