• 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] cancel upgrade id?

Status
Not open for further replies.
Level 12
Joined
Jan 13, 2008
Messages
559
hello, i would like to cancel an upgrade fr
om a building via trigger, so I did some googling and found out that the correct ID for this order is 851976.

  • wooden tower
    • Events
      • Unit - A unit Begins an upgrade
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Wooden Tower
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Charges remaining in (Item carried by (Triggering unit) of type Copper)) Less than 2
        • Then - Actions
          • Set tmpUnit = (Triggering unit)
          • Custom script: call IssueImmediateOrderById(udg_tmpUnit,851976)
        • Else - Actions
this does nothing unfortunately. I know after the latest patch some id's have been changed. Is this the reason why it won't cancel?

/e: well I just figured it out .. triggering unit is in this case the new unit.
 
Last edited:
Status
Not open for further replies.
Top