Progress on tasking

This commit is contained in:
FlightControl
2017-03-09 13:37:13 +01:00
parent 40884cd411
commit fbae55b9f9
17 changed files with 8796 additions and 4696 deletions

View File

@@ -26,9 +26,9 @@ local Mission = MISSION
:AddScoring( Scoring )
local FACSet = SET_GROUP:New():FilterPrefixes( "FAC" ):FilterCoalitions("red"):FilterStart()
local FACDetection = DETECTION_AREAS:New( FACSet, 500, 3000 )
FACDetection:BoundDetectedZones()
local FACAreas = DETECTION_AREAS:New( FACSet, 500, 3000 )
FACAreas:BoundDetectedZones()
local AttackGroups = SET_GROUP:New():FilterCoalitions( "red" ):FilterPrefixes( "Attack" ):FilterStart()
local TaskDispatcher = DETECTION_DISPATCHER:New( Mission, HQ, AttackGroups, FACDetection )
local TaskDispatcher = TASK_A2G_DISPATCHER:New( Mission, HQ, AttackGroups, FACAreas )