mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
14 lines
483 B
Lua
14 lines
483 B
Lua
---
|
|
-- Name: AID-CGO-100 - APC - Pickup and Deploy
|
|
-- Author: FlightControl
|
|
-- Date Created: 10 May 2018
|
|
--
|
|
|
|
local SetCargoInfantry = SET_CARGO:New():FilterTypes( "Infantry" ):FilterStart()
|
|
local SetAPC = SET_GROUP:New():FilterPrefixes( "APC" ):FilterStart()
|
|
local SetDeployZones = SET_ZONE:New():FilterPrefixes( "Deploy" ):FilterStart()
|
|
|
|
AICargoDispatcherAPC = AI_CARGO_DISPATCHER_APC:New( SetAPC, SetCargoInfantry, nil, SetDeployZones )
|
|
AICargoDispatcherAPC:Start()
|
|
|