🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
Are there any ways of checking if a research/upgrade has been completed without setting real values, like "ColdArrowsUpgrade = 1?" Having to create a variable for each upgrade's a bit task full.
Are there any ways of checking if a research/upgrade has been completed without setting real values, like "ColdArrowsUpgrade = 1?" Having to create a variable for each upgrade's a bit task full.
Yes there are, as pOke has shown. One can get the level of an upgrade directly. It is an integer value, so might need typecasting to real for calculations. Like all integer functions one can assign it to an integer real or use it as a argument to any other function or action.
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.