• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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