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