• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Make a queue of Orders via Triggers

Status
Not open for further replies.
Level 10
Joined
Oct 2, 2005
Messages
396
I wonder if there is a way to simulate the in-game SHIFT + CLICK in the trigger editor, I mean, queueing orders, starting one just when the other is fulfilled. I believe there is a keyword to be added to the order string but I honestly don't know, please help me.
 
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.
 
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.
 
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.
 
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 ...
 
This wouldn't work because they need to do a bit of everything, but I think i've got it. If it is possible to use the WEU Unit Custom String value to store substrings together with the order string and coordinates, and erase when done, and go to the next...maybe.
 
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.
Back
Top