mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-23 19:45:29 +00:00
19 lines
685 B
Lua
19 lines
685 B
Lua
|
|
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
|
|
|
|
local CommandCenter = COMMANDCENTER:New( HQ, "Lima" )
|
|
|
|
local Scoring = SCORING:New( "Detect Demo" )
|
|
|
|
local Mission = MISSION
|
|
:New( CommandCenter, "Overlord", "High", "Attack Detect Mission Briefing", coalition.side.RED )
|
|
:AddScoring( Scoring )
|
|
|
|
local FACSet = SET_GROUP:New():FilterPrefixes( "FAC" ):FilterCoalitions("red"):FilterStart()
|
|
local FACDetection = DETECTION_AREAS:New( FACSet, 500, 3000 )
|
|
FACDetection:BoundDetectedZones()
|
|
|
|
local AttackGroups = SET_GROUP:New():FilterCoalitions( "red" ):FilterPrefixes( "Attack" ):FilterStart()
|
|
local TaskDispatcher = DETECTION_DISPATCHER:New( Mission, HQ, AttackGroups, FACDetection )
|
|
|