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

Unit Orders

Status
Not open for further replies.
Level 3
Joined
Dec 2, 2009
Messages
23
I have noticed 2 different ways of organizing a trigger in order for the units to attack something. Think of a dota type map making the Trenants and DOTS attack specific regions.

I wonder which way is more efficient. Perhaps you guys can illuminate me.

Firstly there are people who use For loops when creating units and add the last created unit to attack region X.

The other way is to use 2 triggers: one for creation and another one to order attack-move.

The first way I noticed makes a really big single trigger while the other one makes various small triggers. What is more efficient to do? What should I do for my map?
 
Status
Not open for further replies.
Top