mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-25 13:02:11 +00:00
Updated Moose.lua
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
---
|
||||
-- Name: TSK-100 - A2G - BAI
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 28 May 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- This mission demonstrates the Task_BAI.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
|
||||
HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
|
||||
|
||||
CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
|
||||
|
||||
Scoring = SCORING:New( "BAI Demo" )
|
||||
|
||||
Mission = MISSION
|
||||
:New( CommandCenter, "Overlord", "Primary", "Perform a Battlefield Air Interdiction in the area!", coalition.side.RED )
|
||||
:AddScoring( Scoring )
|
||||
|
||||
AttackGroups = SET_GROUP:New():FilterCoalitions( "red" ):FilterPrefixes( "Attack" ):FilterStart()
|
||||
|
||||
TargetSetUnit = SET_UNIT:New():FilterCoalitions("blue"):FilterPrefixes( "Target" ):FilterStart()
|
||||
|
||||
TaskBAI = TASK_A2G_BAI:New( Mission, AttackGroups,"BAI", TargetSetUnit )
|
||||
---
|
||||
-- Name: TSK-100 - A2G - BAI
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 28 May 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- This mission demonstrates the Task_BAI.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
|
||||
HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
|
||||
|
||||
CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
|
||||
|
||||
Scoring = SCORING:New( "BAI Demo" )
|
||||
|
||||
Mission = MISSION
|
||||
:New( CommandCenter, "Overlord", "Primary", "Perform a Battlefield Air Interdiction in the area!", coalition.side.RED )
|
||||
:AddScoring( Scoring )
|
||||
|
||||
AttackGroups = SET_GROUP:New():FilterCoalitions( "red" ):FilterPrefixes( "Attack" ):FilterStart()
|
||||
|
||||
TargetSetUnit = SET_UNIT:New():FilterCoalitions("blue"):FilterPrefixes( "Target" ):FilterStart()
|
||||
|
||||
TaskBAI = TASK_A2G_BAI:New( Mission, AttackGroups,"BAI", TargetSetUnit )
|
||||
|
||||
Reference in New Issue
Block a user