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

Get upgrade cost

Status
Not open for further replies.
Level 8
Joined
Aug 5, 2014
Messages
205
Hello!

I need to find a way to get upgrade(research) gold/wood cost. I know that there are exists: BlzGetUnitGoldCost, which works for unit only and GetAbilityLevelIntegerField.
The latter can be set to get "gold cost" of ability.

As i know functions like GetAbilityToolTip are used with units and works perfectly with upgrades, but GetAbilityLevelIntegerField doesnt work with upgrades.

Is there the way to get upgrade gold/wood cost?
 
Status
Not open for further replies.
Top