Module ZoneGoalCoalition

Functional (WIP) -- Base class that models processes to achieve goals involving a Zone for a Coalition.


ZONEGOALCOALITION models processes that have a Goal with a defined achievement involving a Zone for a Coalition.
Derived classes implement the ways how the achievements can be realized.


Author: FlightControl


Global(s)

ZONE_GOAL_COALITION

ZONEGOALCOALITION class, extends ZoneGoal#ZONE_GOAL

ZONEGOALCOALITION models processes that have a Goal with a defined achievement involving a Zone for a Coalition.

Type ZONE_GOAL_COALITION

ZONE_GOAL_COALITION.Coalition
ZONE_GOAL_COALITION:GetCoalition()

Get the owning coalition of the zone.

ZONE_GOAL_COALITION:GetCoalitionName()

Get the owning coalition name of the zone.

ZONE_GOAL_COALITION:New(Zone, Coalition)

ZONEGOALCOALITION Constructor.

ZONE_GOAL_COALITION:SetCoalition(Coalition)

Set the owning coalition of the zone.

ZONE_GOAL_COALITION.States
ZONE_GOAL_COALITION:StatusZone()

Check status Coalition ownership.

Global(s)

#ZONE_GOAL_COALITION ZONE_GOAL_COALITION

ZONEGOALCOALITION class, extends ZoneGoal#ZONE_GOAL

ZONEGOALCOALITION models processes that have a Goal with a defined achievement involving a Zone for a Coalition.

Derived classes implement the ways how the achievements can be realized.

1. ZONEGOALCOALITION constructor

2. ZONEGOALCOALITION is a finite state machine (FSM).

2.1 ZONEGOALCOALITION States

2.2 ZONEGOALCOALITION Events

2.3 ZONEGOALCOALITION State Machine

Type ZoneGoalCoalition

Type ZONE_GOAL_COALITION

Extends Functional.ZoneGoal#ZONE_GOAL

Field(s)

ZONE_GOAL_COALITION.Coalition
ZONE_GOAL_COALITION:GetCoalition()

Get the owning coalition of the zone.

Return value

DCSCoalition.DCSCoalition#coalition: Coalition.

ZONE_GOAL_COALITION:GetCoalitionName()

Get the owning coalition name of the zone.

Return value

#string: Coalition name.

ZONE_GOAL_COALITION:New(Zone, Coalition)

ZONEGOALCOALITION Constructor.

Parameters

Return value

#ZONE_GOAL_COALITION:

ZONE_GOAL_COALITION:SetCoalition(Coalition)

Set the owning coalition of the zone.

Parameter

#table ZONE_GOAL_COALITION.States
ZONE_GOAL_COALITION:StatusZone()

Check status Coalition ownership.