You could do it but as a player upgrade.
Simply give the stinger infantry a replaceobject module which is triggered by a player upgrade.
Now, given the fact you want to swap them for machinegunners, I would suggest making the upgrade give them a machine gun as additional which is only used against infantry, otherwise you will screw your Stinger Site's AA ability.
another idea would be to have a duplicate stinger infantry (different object) which only has the replace object upgrade (all the others dont have it), and the upgrade only turns that one infantry into a full machinegunner.
|