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

How to clear construction que of buildings?

Status
Not open for further replies.
Level 7
Joined
Jul 1, 2008
Messages
1,025
Maker for some reason it's not working, heres a copy of my trigger: Do you know where im going from?

  • HS Trained
    • Events
      • Unit - A unit owned by Player 8 (Pink) Finishes training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to (==) Highborn Sister
    • Actions
      • Game - Display to (All players) the text: Trained unit detect...
      • Set HSCount = (HSCount + 1)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • HSCount Greater than or equal to (>=) 4
          • Then - Actions
            • Player - Make Highborn Sister Unavailable for training/construction by Player 8 (Pink)
            • Set CancelBarracks = (Triggering unit)
              • Do Multiple ActionsFor each (Integer A) from 1 to 7, do (Actions)
                • Loop - Actions
                  • Custom script: call IssueImmediateOrderById(udg_CancelBarracks, 851976)
            • Game - Display to (All players) the text: SoA count Greater t...
          • Else - Actions
            • Game - Display to (All players) the text: SoA count less than...
 
Status
Not open for further replies.
Top