• 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.

[Trigger] ...i have think and think

Status
Not open for further replies.
Level 5
Joined
Nov 6, 2008
Messages
150
im trying to make a td for my friends(=
and what i need help to is my map look like that
---------------
|who the blue sould kill here
| |-----------
|
| |
| |------------
| who the red sould kill here
-----------------
how can i do so are split like that?
if you understand?
 
Level 5
Joined
Nov 6, 2008
Messages
150
...that was not that i looked for.....
i try to explane better now...
you know that is in a td(tower defence)....
when the unit are spawned and walk to my first
place sould there spilt up and not walk the same way to the end..

here is a image for what i mean
 

Attachments

  • td.jpg
    td.jpg
    15.3 KB · Views: 90
Level 28
Joined
Jan 26, 2007
Messages
4,789
Create a trigger like this:
When a unit enters a region (unit may not be owned by Red/Blue), set a variable integer +1 (initially, the integer is 0).
If the integer is 1, then move the unit to red's area, if the integer is 2, then move the unit to blue's area and reset the variable back to 0.

  • Remove the leaks!
  • Work on your English before submitting the map!
 
Status
Not open for further replies.
Top