• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

TD's

Status
Not open for further replies.
Level 5
Joined
Aug 3, 2004
Messages
116
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
 
Level 5
Joined
Aug 3, 2004
Messages
116
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
 
Level 6
Joined
Mar 25, 2004
Messages
235
Weeniedog said:
Variables:
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 said:
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 said:
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.
 
Status
Not open for further replies.
Top