• 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] Make a queue of Orders via Triggers

Status
Not open for further replies.
Level 9
Joined
Oct 17, 2007
Messages
547
Why dont you just make a series of triggers for each order you wnat a unit to do, and have the conditions/event be after the previous one is fullfilled.

For example: order a unit from Point A to Point B; after it reaches Point B make a trigger that order it to attack Point C or do something else.
 
Level 10
Joined
Oct 2, 2005
Messages
398
I need to get the order queue right, like, I am doing a dungeon keeper map, and the imps should work alone, without commanding them. So, when a problem occurs, the imp should be ordered to go until the site of the problem and do his task, but after finishing its current task. It isn't a tower defense. If this was the problem I would already have it done.
 
Level 10
Joined
Oct 2, 2005
Messages
398
That is a good idea aki_ser, but since the imps are many, I cannot queue the triggers individually for each of them, and if I need to track each one it would last a century to do one trigger set to each imp, the quatity of ordered units would vary from 25 to 50 per player, so the trigger queue would only be able to order one after all have finished.
In addition, every dungeon inhabitant act by itself, so it would be very nice to have an order queue for them.
Anyway I appreciate your interest.
 
Level 4
Joined
Mar 15, 2008
Messages
71
well...if you want all the imps to act individually then it would take you quite some time...
If your making an AOS then you could order everyone of the units created like this:
  • Lalalalala
  • Actions
    • For each integer (Loop A) from 1 to *number of creeps which should spawn* do (Actions)
      • Unit - Create ...
      • Unit - Issue an order targeting ...
 
Level 10
Joined
Oct 2, 2005
Messages
398
Oh it is possible! I knew this feature was there in the game somewhere!
I'm not all familiar to JASS, but I can tell a code from another, and do some simple spells.
Please tell me how! I will do a thread about it in JASS discussion, and you explain me there ok? (if you can, of course)
Thank you so much.
 
Status
Not open for further replies.
Top