Module AI_Cargo_Helicopter

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


Author: FlightControl


Global(s)

AI_CARGO_HELICOPTER

# AI_CARGO_TROOPS class, extends Core.Base


AI_CARGO_QUEUE

Type AI_CARGO_HELICOPTER

AI_CARGO_HELICOPTER.BoardingCount
AI_CARGO_HELICOPTER.CargoSet
AI_CARGO_HELICOPTER.Coalition
AI_CARGO_HELICOPTER:Deploy(Coordinate)

Deploy Trigger for AICARGOHELICOPTER

AI_CARGO_HELICOPTER.Helicopter
AI_CARGO_HELICOPTER.Helicopter_Cargo
AI_CARGO_HELICOPTER:IsRelocating()
AI_CARGO_HELICOPTER:IsTransporting()
AI_CARGO_HELICOPTER:New(Helicopter, CargoSet, CombatRadius)

Creates a new AICARGOHELICOPTER object.

AI_CARGO_HELICOPTER:OnAfterDeploy(From, Event, To, Coordinate)

Deploy Handler OnAfter for AICARGOHELICOPTER

AI_CARGO_HELICOPTER:OnAfterPickup(From, Event, To, Coordinate)

Pickup Handler OnAfter for AICARGOHELICOPTER

AI_CARGO_HELICOPTER:OnBeforeDeploy(From, Event, To, Coordinate)

Deploy Handler OnBefore for AICARGOHELICOPTER

AI_CARGO_HELICOPTER:OnBeforePickup(From, Event, To, Coordinate)

Pickup Handler OnBefore for AICARGOHELICOPTER

AI_CARGO_HELICOPTER:Pickup(Coordinate)

Pickup Trigger for AICARGOHELICOPTER

AI_CARGO_HELICOPTER.Relocating
AI_CARGO_HELICOPTER.RouteDeploy
AI_CARGO_HELICOPTER.RouteHome
AI_CARGO_HELICOPTER.RoutePickup
AI_CARGO_HELICOPTER:SetCarrier(Helicopter)

Set the Carrier.

AI_CARGO_HELICOPTER.Transporting
AI_CARGO_HELICOPTER.Zone
AI_CARGO_HELICOPTER:_Deploy(AICargoHelicopter, Coordinate)
AI_CARGO_HELICOPTER:__Deploy(Coordinate, Delay)

Deploy Asynchronous Trigger for AICARGOHELICOPTER

AI_CARGO_HELICOPTER:__Pickup(Delay, Coordinate)

Pickup Asynchronous Trigger for AICARGOHELICOPTER

AI_CARGO_HELICOPTER:onafterBoard(Helicopter, From, Event, To, Cargo)
AI_CARGO_HELICOPTER:onafterDeploy(Helicopter, From, Event, To, Coordinate, Speed)
AI_CARGO_HELICOPTER:onafterHome(Helicopter, From, Event, To, Coordinate, Speed)
AI_CARGO_HELICOPTER:onafterLanded(Helicopter, From, Event, To, Coordinate, Speed)
AI_CARGO_HELICOPTER:onafterOrbit(Helicopter, From, Event, To, Coordinate, Speed)
AI_CARGO_HELICOPTER:onafterPickup(Helicopter, From, Event, To, Coordinate, Speed)
AI_CARGO_HELICOPTER:onafterQueue(Helicopter, From, Event, To, Coordinate, Speed)
AI_CARGO_HELICOPTER:onafterUnboard(Helicopter, From, Event, To, Cargo, Deployed)
AI_CARGO_HELICOPTER:onafterUnload(Helicopter, From, Event, To, Deployed)
AI_CARGO_HELICOPTER:onafterUnloaded(Helicopter, From, Event, To, Cargo, Deployed)
AI_CARGO_HELICOPTER:onbeforeLoad(Helicopter, From, Event, To, Coordinate)
AI_CARGO_HELICOPTER:onbeforeLoaded(Helicopter, From, Event, To, Cargo)
AI_CARGO_HELICOPTER:onbeforeUnloaded(Helicopter, From, Event, To, Cargo, Deployed)

Global(s)

#AI_CARGO_HELICOPTER AI_CARGO_HELICOPTER

# AI_CARGO_TROOPS class, extends Core.Base


#table AI_CARGO_QUEUE

Type AI_Cargo_Helicopter

Type AI_CARGO_HELICOPTER

Extends Core.Fsm#FSM_CONTROLLABLE

Field(s)

#number AI_CARGO_HELICOPTER.BoardingCount
Cargo.CargoGroup#CARGO_GROUP AI_CARGO_HELICOPTER.CargoSet
AI_CARGO_HELICOPTER.Coalition
AI_CARGO_HELICOPTER:Deploy(Coordinate)

Deploy Trigger for AICARGOHELICOPTER

Parameter

Wrapper.Group#GROUP AI_CARGO_HELICOPTER.Helicopter
#table AI_CARGO_HELICOPTER.Helicopter_Cargo
AI_CARGO_HELICOPTER:IsRelocating()
AI_CARGO_HELICOPTER:IsTransporting()
AI_CARGO_HELICOPTER:New(Helicopter, CargoSet, CombatRadius)

Creates a new AICARGOHELICOPTER object.

Parameters

Return value

#AI_CARGO_HELICOPTER:

AI_CARGO_HELICOPTER:OnAfterDeploy(From, Event, To, Coordinate)

Deploy Handler OnAfter for AICARGOHELICOPTER

Parameters

AI_CARGO_HELICOPTER:OnAfterPickup(From, Event, To, Coordinate)

Pickup Handler OnAfter for AICARGOHELICOPTER

Parameters

AI_CARGO_HELICOPTER:OnBeforeDeploy(From, Event, To, Coordinate)

Deploy Handler OnBefore for AICARGOHELICOPTER

Parameters

Return value

#boolean:

AI_CARGO_HELICOPTER:OnBeforePickup(From, Event, To, Coordinate)

Pickup Handler OnBefore for AICARGOHELICOPTER

Parameters

Return value

#boolean:

AI_CARGO_HELICOPTER:Pickup(Coordinate)

Pickup Trigger for AICARGOHELICOPTER

Parameter

#boolean AI_CARGO_HELICOPTER.Relocating
#boolean AI_CARGO_HELICOPTER.RouteDeploy
#boolean AI_CARGO_HELICOPTER.RouteHome
#boolean AI_CARGO_HELICOPTER.RoutePickup
AI_CARGO_HELICOPTER:SetCarrier(Helicopter)

Set the Carrier.

Parameter

Return value

#AI_CARGO_HELICOPTER:

#boolean AI_CARGO_HELICOPTER.Transporting
AI_CARGO_HELICOPTER.Zone
AI_CARGO_HELICOPTER:_Deploy(AICargoHelicopter, Coordinate)

Parameters

  • AICargoHelicopter :

  • Coordinate :

AI_CARGO_HELICOPTER:__Deploy(Coordinate, Delay)

Deploy Asynchronous Trigger for AICARGOHELICOPTER

Parameters

AI_CARGO_HELICOPTER:__Pickup(Delay, Coordinate)

Pickup Asynchronous Trigger for AICARGOHELICOPTER

Parameters

AI_CARGO_HELICOPTER:onafterBoard(Helicopter, From, Event, To, Cargo)

Parameters

AI_CARGO_HELICOPTER:onafterDeploy(Helicopter, From, Event, To, Coordinate, Speed)

Parameters

AI_CARGO_HELICOPTER:onafterHome(Helicopter, From, Event, To, Coordinate, Speed)

Parameters

AI_CARGO_HELICOPTER:onafterLanded(Helicopter, From, Event, To, Coordinate, Speed)

Parameters

AI_CARGO_HELICOPTER:onafterOrbit(Helicopter, From, Event, To, Coordinate, Speed)

Parameters

AI_CARGO_HELICOPTER:onafterPickup(Helicopter, From, Event, To, Coordinate, Speed)

Parameters

AI_CARGO_HELICOPTER:onafterQueue(Helicopter, From, Event, To, Coordinate, Speed)

Parameters

AI_CARGO_HELICOPTER:onafterUnboard(Helicopter, From, Event, To, Cargo, Deployed)

Parameters

AI_CARGO_HELICOPTER:onafterUnload(Helicopter, From, Event, To, Deployed)

Parameters

AI_CARGO_HELICOPTER:onafterUnloaded(Helicopter, From, Event, To, Cargo, Deployed)

Parameters

AI_CARGO_HELICOPTER:onbeforeLoad(Helicopter, From, Event, To, Coordinate)

Parameters

AI_CARGO_HELICOPTER:onbeforeLoaded(Helicopter, From, Event, To, Cargo)

Parameters

AI_CARGO_HELICOPTER:onbeforeUnloaded(Helicopter, From, Event, To, Cargo, Deployed)

Parameters