Module AI_Cargo_Airplane

AI -- (R2.3) - Models the intelligent transportation of infantry (cargo).


Author: FlightControl


Global(s)

AI_CARGO_AIRPLANE

# AI_CARGO_AIRPLANE class, extends Core.Base


Type AI_CARGO_AIRPLANE

AI_CARGO_AIRPLANE.Airbase
AI_CARGO_AIRPLANE.Airplane
AI_CARGO_AIRPLANE.Cargo
AI_CARGO_AIRPLANE.CargoSet
AI_CARGO_AIRPLANE.Coalition
AI_CARGO_AIRPLANE:Deploy(Airbase)

Deploy Trigger for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:FindCarrier(Airbase, Radius, Coordinate)

Find a free Carrier within a range.

AI_CARGO_AIRPLANE:New(Airplane, CargoSet, CombatRadius)

Creates a new AICARGOAIRPLANE object.

AI_CARGO_AIRPLANE:OnAfterDeploy(From, Event, To, Airbase)

Deploy Handler OnAfter for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:OnAfterPickup(From, Event, To, Airbase)

Pickup Handler OnAfter for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:OnBeforeDeploy(From, Event, To, Airbase)

Deploy Handler OnBefore for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:OnBeforePickup(From, Event, To, Airbase)

Pickup Handler OnBefore for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:Pickup(Airbase)

Pickup Trigger for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:Route(Airplane, Airbase, Speed)
AI_CARGO_AIRPLANE.RouteDeploy
AI_CARGO_AIRPLANE.RoutePickup
AI_CARGO_AIRPLANE:SetCarrier(Airplane)

Set the Carrier.

AI_CARGO_AIRPLANE:__Deploy(Airbase, Delay)

Deploy Asynchronous Trigger for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:__Pickup(Delay, Airbase)

Pickup Asynchronous Trigger for AICARGOAIRPLANE

AI_CARGO_AIRPLANE:onafterBoard(Airplane, From, Event, To)
AI_CARGO_AIRPLANE:onafterDeploy(Airplane, From, Event, To, Airbase, Speed)
AI_CARGO_AIRPLANE:onafterLanded(Airplane, From, Event, To, Airbase, Speed)
AI_CARGO_AIRPLANE:onafterLoad(Airplane, From, Event, To, Coordinate)
AI_CARGO_AIRPLANE:onafterLoaded(Airplane, From, Event, To)
AI_CARGO_AIRPLANE:onafterPickup(Airplane, From, Event, To, Airbase, Speed)
AI_CARGO_AIRPLANE:onafterUnboard(Airplane, From, Event, To)
AI_CARGO_AIRPLANE:onafterUnload(Airplane, From, Event, To)
AI_CARGO_AIRPLANE:onafterUnloaded(Airplane, From, Event, To)

Global(s)

#AI_CARGO_AIRPLANE AI_CARGO_AIRPLANE

# AI_CARGO_AIRPLANE class, extends Core.Base


Type AI_Cargo_Airplane

Type AI_CARGO_AIRPLANE

Extends Core.Fsm#FSM_CONTROLLABLE

Field(s)

AI_CARGO_AIRPLANE.Airbase
Wrapper.Group#GROUP AI_CARGO_AIRPLANE.Airplane
AI_CARGO_AIRPLANE.Cargo
Cargo.CargoGroup#CARGO_GROUP AI_CARGO_AIRPLANE.CargoSet
AI_CARGO_AIRPLANE.Coalition
AI_CARGO_AIRPLANE:Deploy(Airbase)

Deploy Trigger for AICARGOAIRPLANE

Parameter

AI_CARGO_AIRPLANE:FindCarrier(Airbase, Radius, Coordinate)

Find a free Carrier within a range.

Parameters

Return value

Wrapper.Group#GROUP: NewCarrier

AI_CARGO_AIRPLANE:New(Airplane, CargoSet, CombatRadius)

Creates a new AICARGOAIRPLANE object.

Parameters

Return value

#AI_CARGO_AIRPLANE:

AI_CARGO_AIRPLANE:OnAfterDeploy(From, Event, To, Airbase)

Deploy Handler OnAfter for AICARGOAIRPLANE

Parameters

AI_CARGO_AIRPLANE:OnAfterPickup(From, Event, To, Airbase)

Pickup Handler OnAfter for AICARGOAIRPLANE

Parameters

AI_CARGO_AIRPLANE:OnBeforeDeploy(From, Event, To, Airbase)

Deploy Handler OnBefore for AICARGOAIRPLANE

Parameters

Return value

#boolean:

AI_CARGO_AIRPLANE:OnBeforePickup(From, Event, To, Airbase)

Pickup Handler OnBefore for AICARGOAIRPLANE

Parameters

Return value

#boolean:

AI_CARGO_AIRPLANE:Pickup(Airbase)

Pickup Trigger for AICARGOAIRPLANE

Parameter

AI_CARGO_AIRPLANE:Route(Airplane, Airbase, Speed)

Parameters

#boolean AI_CARGO_AIRPLANE.RouteDeploy
#boolean AI_CARGO_AIRPLANE.RoutePickup
AI_CARGO_AIRPLANE:SetCarrier(Airplane)

Set the Carrier.

Parameter

Return value

#AI_CARGO_AIRPLANE:

AI_CARGO_AIRPLANE:__Deploy(Airbase, Delay)

Deploy Asynchronous Trigger for AICARGOAIRPLANE

Parameters

AI_CARGO_AIRPLANE:__Pickup(Delay, Airbase)

Pickup Asynchronous Trigger for AICARGOAIRPLANE

Parameters

AI_CARGO_AIRPLANE:onafterBoard(Airplane, From, Event, To)

Parameters

AI_CARGO_AIRPLANE:onafterDeploy(Airplane, From, Event, To, Airbase, Speed)

Parameters

AI_CARGO_AIRPLANE:onafterLanded(Airplane, From, Event, To, Airbase, Speed)

Parameters

AI_CARGO_AIRPLANE:onafterLoad(Airplane, From, Event, To, Coordinate)

Parameters

AI_CARGO_AIRPLANE:onafterLoaded(Airplane, From, Event, To)

Parameters

AI_CARGO_AIRPLANE:onafterPickup(Airplane, From, Event, To, Airbase, Speed)

Parameters

AI_CARGO_AIRPLANE:onafterUnboard(Airplane, From, Event, To)

Parameters

AI_CARGO_AIRPLANE:onafterUnload(Airplane, From, Event, To)

Parameters

AI_CARGO_AIRPLANE:onafterUnloaded(Airplane, From, Event, To)

Parameters