Hello,
I want to modify the UnitFlagManager.lua file for units that have cargo skill, especially carriers: the flag only shows the number of aircrafts based on a carrier, but not the total plots available for units. I'd like it to display : " 1 / 4" to show that there's 1 aircraft based out of 4 potentially carried, for instance.
I've found the lines that handle this (line 797):
How to get the remaining plots for units and display it ?
I want to modify the UnitFlagManager.lua file for units that have cargo skill, especially carriers: the flag only shows the number of aircrafts based on a carrier, but not the total plots available for units. I'd like it to display : " 1 / 4" to show that there's 1 aircraft based out of 4 potentially carried, for instance.
I've found the lines that handle this (line 797):
Code:
self.m_CargoControls.PullDown:LocalizeAndSetToolTip( "TXT_KEY_STATIONED_AIRCRAFT", cargoCount );