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

Status
Not open for further replies.
Level 2
Joined
Aug 25, 2004
Messages
9
First I would like to apologise if this is the wrong section of the forums to post this thread.

My friend and I are trying to make a TD and we made it so the creeps will spawn and move to the first corner, however we do not know how to make a trigger to move to the next corner. I was hoping someone would know how to do this and leave a trigger example like events, conditions and actions.

Thanks in advance. :p

Edit: This is also our first warcraft 3 map. :lol:
 
Level 22
Joined
May 11, 2004
Messages
2,863
If they are moving to a corner, you should have a region in that corner. Such as:

Event: (whatever event/condition)

Action:
Unit-create a (unit) at center of (region)
Unit-order (last created unit) to move to (region in corner)
wait ??? seconds
repeat
....repeat this action for each creep spawned. Have the "wait" in there so the creeps dont bunch up..it gives them time to walk in a straigh line one-by-one.

-Next trigger-

Action:
Region- A unit owned by (creep-owning player) enters (region in corner)

Action
Unit- Order (entering unit) to move to (next region)

repeat this process untill all "corners" are covered

Hope this helps.
-VGsatomi
 
Level 2
Joined
Aug 25, 2004
Messages
9
VGsatomi said:
Action:
Region- A unit owned by (creep-owning player) enters (region in corner)

I cannot find the action which says this, maybe you could give the exact words? Or maybe I'm just blind to see it.. :?
 
Level 21
Joined
Feb 14, 2004
Messages
3,311
Hello syne

I'll help you, simplifying many things.

First we need a regions (which are points) create them in the " region palette "
You can have as much you want depending on the amount of turns and they are very important.
Create 3 for now for demonstration. Name them, " create point, move 1, move 2. "

Now, go to trigger editor.

Events - Periodic Event - Every 5 seconds of game
Conditions -
Actions - Unit - Create - Create 1 archer for neutral hostile in create point facing position of triggering unit.

Continue, we create another trigger for a turn

Events - a unit enters create point
Conditions - Unit type comparision - unit type of entering unit equal to archer
Action - Issue unit to move to move 1

Create another for another turn

Events - a unit enters move 1
Conditions - Unit type comparision - unit type of entering unit equal to archer
Action - Issue unit to move to move 2

Hope this helps :wink:
 
Level 2
Joined
Aug 25, 2004
Messages
9
Sopho said:
Hello syne

I'll help you, simplifying many things.

First we need a regions (which are points) create them in the " region palette "
You can have as much you want depending on the amount of turns and they are very important.
Create 3 for now for demonstration. Name them, " create point, move 1, move 2. "

Now, go to trigger editor.

Events - Periodic Event - Every 5 seconds of game
Conditions -
Actions - Unit - Create - Create 1 archer for neutral hostile in create point facing position of triggering unit.

Continue, we create another trigger for a turn

Events - a unit enters create point
Conditions - Unit type comparision - unit type of entering unit equal to archer
Action - Issue unit to move to move 1

Create another for another turn

Events - a unit enters move 1
Conditions - Unit type comparision - unit type of entering unit equal to archer
Action - Issue unit to move to move 2

Hope this helps :wink:

When trying to make the conditions, I have to pick the unit for the turn, however the unit isnt created yet...(created as in spawned at the create point to move to the move)...
 
Level 2
Joined
Aug 25, 2004
Messages
9
Thank you all very much, the trigger finally works. Thanks.

Edit: I was also wondering if I had another question, should I reply it on here, or start a new thread?
 
Level 2
Joined
Aug 25, 2004
Messages
9
Most TD's have a builder that can build several different towers and stuff... Can anyone tell me how to edit the builders to build different towers? And also how to make towers?
 
Level 2
Joined
Aug 25, 2004
Messages
9
How do you set up the builders menu? Like When I try to put different towers for the builder to build, its like random slots. How do you assign the slot for the tower to be at(when trying to build).
 
Level 2
Joined
Aug 25, 2004
Messages
9
I was wondering if there was another Map Editor Other then the WC3 World Editor that comes with the game?
 
Status
Not open for further replies.
Top