I'm trying to return the mineral, vespene, and time cost of any given upgrade. I've done this in the past for units with the trigger action "Catalog Field Get As Integer". However, I'm having a hard time finding the data fields to use for upgrades. Is it listed under "Upgrades" or "Abilities"? What is the exact field name?
A research ability (example: EngineerBayResearch) contains an array holding the researches/upgrades accessible by the # array index.
Example: upgrade "HiSecAutoTracking" of command "e_abilResearchCmdResearch1" is # index 0, and
upgrade TerranInfantryWeaponsLevel1 of command "e_abilResearchCmdResearch3" is # index 2.
I'm trying to return the mineral, vespene, and time cost of any given upgrade. I've done this in the past for units with the trigger action "Catalog Field Get As Integer". However, I'm having a hard time finding the data fields to use for upgrades. Is it listed under "Upgrades" or "Abilities"? What is the exact field name?
Catalog Type:
Abilities
Entry: (choose one)
Fieldpath for Time:
Fieldpath for Minerals:
Fieldpath for Vespene:
Player:
0
A research ability (example: EngineerBayResearch) contains an array holding the researches/upgrades accessible by the # array index.
Example: upgrade "HiSecAutoTracking" of command "e_abilResearchCmdResearch1" is # index 0, and
upgrade TerranInfantryWeaponsLevel1 of command "e_abilResearchCmdResearch3" is # index 2.
@Alphadrant: Go
Damn, that was perfect. Thanks man.