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!
Just wondering if anyone knows if it is possible to check whether a unit is in the process of upgrading or researching, through order strings or through any other means. Any input would be most appreciated...
Well, the only thing that comes in my head, is to use the triggerevents
Starts/Finishes researching, and set HandleVars for that unit. I can write it down for you if you want me to.
That would be wonderful, if you have the time. Please and thank you...
I suppose I could just use custom values for the unit in addition to the (begins/finishes researching), but I am hoping there is a cleaner way of doing it.
Here it is, it uses HandleVars, so make sure you have them in your map's custom sript section. It also uses two global variables:
TempUnit unit
IsResearching boolean
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.