Module AI_Cargo_Dispatcher_Airplane

AI -- (R2.4) - Models the intelligent transportation of infantry and other cargo using Planes.


Author: FlightControl


Global(s)

AI_CARGO_DISPATCHER_AIRPLANE

AI_CARGO_DISPATCHER_AIRPLANE class, extends Core.Base#BASE


AI_CARGO_DISPATCHER_AIRPLANE brings a dynamic cargo handling capability for AI groups.

Type AI_CARGO_DISPATCHER_AIRPLANE

AI_CARGO_DISPATCHER_AIRPLANE:New(SetAirplane, SetCargo, SetDeployZone, SetDeployZones)

Creates a new AICARGODISPATCHER_AIRPLANE object.

Global(s)

#AI_CARGO_DISPATCHER_AIRPLANE AI_CARGO_DISPATCHER_AIRPLANE

AI_CARGO_DISPATCHER_AIRPLANE class, extends Core.Base#BASE


AI_CARGO_DISPATCHER_AIRPLANE brings a dynamic cargo handling capability for AI groups.

Airplanes can be mobilized to intelligently transport infantry and other cargo within the simulation. The AI_CARGO_DISPATCHER_AIRPLANE module uses the Cargo capabilities within the MOOSE framework. CARGO derived objects must be declared within the mission to make the AI_CARGO_DISPATCHER_AIRPLANE object recognize the cargo. Please consult the Cargo module for more information.

Type AI_Cargo_Dispatcher_Airplane

Type AI_CARGO_DISPATCHER_AIRPLANE

Extends AI.AI_Cargo_Dispatcher#AI_CARGO_DISPATCHER

Field(s)

AI_CARGO_DISPATCHER_AIRPLANE:New(SetAirplane, SetCargo, SetDeployZone, SetDeployZones)

Creates a new AICARGODISPATCHER_AIRPLANE object.

Parameters

Return value

#AI_CARGO_DISPATCHER_AIRPLANE:

Usage:


-- Create a new cargo dispatcher
SetAirplane = SET_GROUP:New():FilterPrefixes( "Airplane" ):FilterStart()
SetCargo = SET_CARGO:New():FilterTypes( "Infantry" ):FilterStart()
SetDeployZone = SET_ZONE:New():FilterPrefixes( "Deploy" ):FilterStart()
AICargoDispatcher = AI_CARGO_DISPATCHER_AIRPLANE:New( SetAirplane, SetCargo )