In my mod, I made it so that Spider Mines can be controlled and built in the factory.
It works fine except that I can't add them to the army select button (F2) although I checked the "army select" tag in the unit tab.
The unit count is correct and takes into account the Spider Mines but if I press F2, they are not selected.
The same thing happens if I select several units at the same time by holding down the left click, I can select all the mines, but as soon as another unit is in the selection, then the mines are not selected.
If I create a unit group and select that group, it works as expected, it selects both the mines and the other units and I can control all the units in the group at the same time.
Does anyone has any idea how to make this work like any other unit.
0
Hello everyone,
In my mod, I made it so that Spider Mines can be controlled and built in the factory.
It works fine except that I can't add them to the army select button (F2) although I checked the "army select" tag in the unit tab.
The unit count is correct and takes into account the Spider Mines but if I press F2, they are not selected.
The same thing happens if I select several units at the same time by holding down the left click, I can select all the mines, but as soon as another unit is in the selection, then the mines are not selected.
If I create a unit group and select that group, it works as expected, it selects both the mines and the other units and I can control all the units in the group at the same time.
Does anyone has any idea how to make this work like any other unit.