I've run into a little problem when trying to create a tech level upgrade. The tech structure in one of our factons is required to build second tier units, and you can purcahse an upgrade from this tech structure to further access the third tier units.
The first part was easy enough, but creating the third tier tech upgrade has cause some problems.
Currently, the code within the structure for the upgrade is as follows:
And also the button code for this upgrade:
Within an upgrade.xml I have:
And within the unit itself I have:
I also have the following logic commands:
<AISpecialPowerInfo Heuristic="UPGRADE" Manager="BUILDER"/>
The button works and you can purchase the upgrade. An EVA message is displayed when the upgrade has been purchased, is signalled on the minimap, and the button greys out.
However the unit within the war factory still remains disabled and says the purchase of the upgrade is still required.
I think it's got something to do with the fact that it's not transferring the upgrade data to the war factory, because I've used the code from the Allied outpost as a basis but it's not showing the 'link' between structures.
Have I missed something obvious? I would really appreciate your help.
Please note the purchase times and costs are for testing purposes only.