Statemachine

This commit is contained in:
FlightControl
2016-06-30 10:52:37 +02:00
parent 7ab52025fd
commit e2250dc92f
38 changed files with 468 additions and 46879 deletions

View File

@@ -0,0 +1,13 @@
local FACGroup = GROUP:FindByName( "FAC Group" )
local FACDetection = DETECTION_UNITGROUPS:New( FACGroup, 1000, 250 )
local SeadClientSet = SET_CLIENT:New():FilterCoalitions( "blue" ):FilterStart()
local DestroyClientSet = SET_CLIENT:New():FilterCoalitions( "blue" ):FilterStart()
local Targets_SEAD_Set = SET_UNIT:New():FilterCoalitions( "red" ):FilterPrefixes( "RU Patriot" ):FilterStart()
local Targets_SEAD = TARGETS:New( "SEAD", Targets_SEAD_Set )
local TaskAssign = TASK_DISPATCHER:New( CommmandCenter, SeadClientSet, FACDetection, Targets_SEAD )