Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HQ = GROUP:FindByName( "EasyRangeHQ" ) --Declare HQ unit
- CommandCenter = COMMANDCENTER:New( HQ, "Easy Range" ) --Declare ER CommandCenter
- EROVL = MISSION:New( CommandCenter, "Overlord", "Primary", "Attack and destroy ground targets at Easy Range", coalition.side.BLUE ) -- Create the Mission.
- FAC = SET_GROUP:New():FilterPrefixes( "ReconEasyRange" ):FilterStart() --Declare forward air controllers
- Detection = DETECTION_AREAS:New( FAC, 1000 ) --Declare detection area and grouping for FAC Group
- AttackSet = SET_GROUP:New():FilterPrefixes( "Player"):FilterCoalitions( "blue" ):FilterStart() --Declare which role are able to use designation menus
- RecceDesignation = DESIGNATE:New( CommandCenter, Detection, AttackSet, EROVL ) --EROVL limits designation function to players on the Overlord mission
- RecceDesignation:SetThreatLevelPrioritization( true ) --QOL shit
- RecceDesignation:SetLaserCodes( 1188, 1288, 1388 ) --These codes will be used with AutoLase Target
- RecceDesignation:AddMenuLaserCode( 1488, "Lase target with d%" )
- RecceDesignation:AddMenuLaserCode( 1588, "Lase target with d%" )
- RecceDesignation:AddMenuLaserCode( 1688, "Lase target with d%" )
- RecceDesignation:AddMenuLaserCode( 1788, "Lase target with d%" )
- TaskDispatcher = TASK_A2G_DISPATCHER:New( EROVL, AttackSet, Detection ) -- We assign the TaskDispatcher under Mission. The AttackSet will engage the enemy and will recieve the dispatched Tasks. The DetectionAreas will report any detected enemies to the TaskDispatcher.
- MissileTrainer = MISSILETRAINER:New( 100, "Missiles will be destroyed for when they reach your plane." )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement