rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
7 years ago
i always thought that Upgrades.ini is simply a list of upgrades that differ in price, build time and Global or Object target = so any can be piked to use it simply as a trigger for smt to change in unit, but now i got stuck cause can't figure out what is missing.

the logic should be:
one must buy Global Player Upgrade > changes CommandSet of unit with CommandSetUpgrade(this works) > new CommandSet contains a button for Object upgrade(Type = OBJECT) > that ought to change WeaponSet with WeaponSetUpgrade(this doesn't work, upgrade button is greyed out).

i thought i could pick any in-game object upgrade to use it per-unit, like say upgrades of Overlord, but... what am i doing wrong?
Sponsor
Annihilationzh
7 years ago
Does the unit have a productionupdate module?
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
7 years ago
that solved everything, thank you! didn't know ProductionUpdate is so important for this as it never was "connected" to upgrades by tags. thought this module is for production of units, my bad.