mirror of
https://github.com/iTracerFacer/DCS_MissionDev.git
synced 2025-12-03 04:14:46 +00:00
Added centralized color config ZONE_COLORS and helper GetZoneColor. Replaced all hard-coded color draws with ZONE_COLORS/GetZoneColor: OnEnterGuarded, OnEnterEmpty, OnEnterAttacked, OnEnterCaptured. ZoneColorVerification (periodic). RefreshAllZoneColors (manual). Hardened scanners with nil/pcall guards: GetZoneForceStrengths now checks ZoneCapture and safely gets the zone. CreateTacticalInfoMarker now pcall-guards zone access and avoids nils. Made tactical text coalition-specific: BLUE sees RED TGTS (<=10 units). RED sees BLUE TGTS (<=10 units). Both markers include the same force summary, but TGTS is tailored per viewer coalition.
786 KiB
786 KiB