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

Canceling Upgrades

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
ok if u mean canceling it with trigger during its already started then in my head have 2 way.

1. maybe with force keys if have a hotkey for cancel upgrade, idk if work coz dont test also maybe u can try re order the research, maybe its cancel, idk
2. pause unit and amybe recreate if needed (idk if order stop work or no but pause must work but then the building stoped too, so then u can recreate the building)
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
I tried that but the order fire too quickly and I would have to give it some delay, thanks for posting that though.

ok anyway u can use timer and hashtable for make delay, its mean save unit to hashtable where the key is the timerid then its work with 100 unit too even u upgrade same time

(i can do it if u want, but in jass only, in gui i am noob with handling timers without make add event for 1 trigger)
 
Status
Not open for further replies.
Top