Open WirtsLegs opened 10 months ago
I would rely on DCS to tell us if neutral is red/blue/gm spawned. This can be achieved by utilizing group name Red-Olympus-XXXX
, Blue-Olympus-XXXX
and if GM just Olympus-XXXX
.
This way when we query for units, we can query for Neutral units containing Blue
or Red
, which would allow syncing across server & client restarts and would make DCS be the 'database'.
Using the group name might have problems if #771 is implemented.
Copied from Discord conversation Since you need neutral units for miss on purpose to work etc blue/red commander should be able to use them but blue and red commander view can never see neutral units because they aren't blue/red and neutral never appear in Controller.getDetectedTargets()
I would propose a 3 stage fix: