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: Sven Van de Velde (FlightControl)
Global(s)
| ZONE_GOAL_COALITION |
ZONEGOALCOALITION class, extends ZoneGoal#ZONE_GOALZONEGOALCOALITION 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
- ZONEGOALCOALITION.New(): Creates a new ZONEGOALCOALITION object.
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
Field(s)
- 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
-
Core.Zone#ZONE Zone: A Zone object with the goal to be achieved. -
DCSCoalition.DCSCoalition#coalition Coalition: The initial coalition owning the zone.
Return value
-
- ZONE_GOAL_COALITION:SetCoalition(Coalition)
-
Set the owning coalition of the zone.
Parameter
-
DCSCoalition.DCSCoalition#coalition Coalition:
-
- ZONE_GOAL_COALITION:StatusZone()
-
Check status Coalition ownership.