I think the commandset changes would be too complicated.
There is better way. I had the same problem some time ago :
I needed unit that needs upgrade to be build but it is hardcoded. :cry:
So you canīt limit units with upgrades BUT you CAN limit
COMMANDBUTTONS whatever you want.
So the unit is not limited but itīs button IS, simple isnīt it ?
In order to do this you have to add this to COMMANDBUTTON of drones :
Options = NEED_UPGRADE
Upgrade = Upgrade_"BattlePlan"
You wonīt be able to build drones without battleplan but
the problem is that it will NOT tell you why.
And of corse you have to change battleplans into upgrades.
