Files
MOOSE_MISSIONS/ESC - AI Escort/ESC-001 - Escort A2G Test/ESC-001 - Escort A2G Test.lua
T
2020-05-16 18:57:54 +00:00

10 lines
386 B
Lua

local FollowGroupSet = SET_GROUP:New():FilterCategories( { "plane", "ship" } ):FilterCoalitions( "red" ):FilterPrefixes( { "Escort", "Ship Defense" } ):FilterStart()
local LeaderUnit = UNIT:FindByName( "Leader" )
local Escort = AI_ESCORT:New( LeaderUnit, FollowGroupSet, "Escort Attack", "Briefing" )
Escort:FormationTrail( 750, 750 , 0 )
Escort:MenusAirplanes()
Escort:__Start( 1 )