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

Checking for completed Research

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
Are there any ways of checking if a research/upgrade has been completed without setting real values, like "ColdArrowsUpgrade = 1?"
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.
 
Status
Not open for further replies.
Top