Documentation

This commit is contained in:
FlightControl_Master 2017-11-01 17:50:04 +01:00
parent 7bc0f103d9
commit e625aaf28c
17 changed files with 112 additions and 84 deletions

View File

@ -1,23 +1,34 @@
--- **Functional (wIP)** -- Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.
--- **Functional** -- (WIP R2.3) Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.
--
-- ====
--
-- ![Banner Image](..\Presentations\ZONE_CAPTURE_COALITION\Dia1.JPG)
--
-- ===
--
-- ### Contributions: **Millertime**: Concept
-- ### Author: **Sven Van de Velde (FlightControl)**
--
-- ====
--
-- @module ZoneCaptureCoalition
do -- ZoneGoal
do -- ZONE_CAPTURE_COALITION
--- @type ZONE_CAPTURE_COALITION
-- @extends Functional.ZoneGoalCoalition#ZONE_GOAL_COALITION
--- # ZONE_CAPTURE_COALITION class, extends @{ZoneGoalCoalition#ZONE_GOAL_COALITION}
--- # ZONE\_CAPTURE\_COALITION class, extends @{ZoneGoalCoalition#ZONE_GOAL_COALITION}
--
-- Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.
--
-- ---
--
-- ![Banner Image](..\Presentations\ZONE_CAPTURE_COALITION\Dia1.JPG)
--
-- ---
--
-- The Zone is initially **Guarded** by the __owning coalition__, which is the coalition that initially occupies the zone with units of its coalition.
-- Once units of an other coalition are entering the Zone, the state will change to **Attacked**. As long as these units remain in the zone, the state keeps set to Attacked.
-- When all units are destroyed in the Zone, the state will change to **Empty**, which expresses that the Zone is empty, and can be captured.
@ -25,20 +36,20 @@ do -- ZoneGoal
--
-- Event handlers can be defined by the mission designer to action on the state transitions.
--
-- ## 1. ZONE_CAPTURE_COALITION constructor
-- ## 1. ZONE\_CAPTURE\_COALITION constructor
--
-- * @{#ZONE_CAPTURE_COALITION.New}(): Creates a new ZONE_CAPTURE_COALITION object.
-- * @{#ZONE_CAPTURE_COALITION.New}(): Creates a new ZONE\_CAPTURE\_COALITION object.
--
-- ## 2. ZONE_CAPTURE_COALITION is a finite state machine (FSM).
-- ## 2. ZONE\_CAPTURE\_COALITION is a finite state machine (FSM).
--
-- ### 2.1 ZONE_CAPTURE_COALITION States
-- ### 2.1 ZONE\_CAPTURE\_COALITION States
--
-- * **Captured**: The Zone has been captured by an other coalition.
-- * **Attacked**: The Zone is currently intruded by an other coalition. There are units of the owning coalition and an other coalition in the Zone.
-- * **Guarded**: The Zone is guarded by the owning coalition. There is no other unit of an other coalition in the Zone.
-- * **Empty**: The Zone is empty. There is not valid unit in the Zone.
--
-- ### 2.2 ZONE_CAPTURE_COALITION Events
-- ### 2.2 ZONE\_CAPTURE\_COALITION Events
--
-- * **Capture**: The Zone has been captured by an other coalition.
-- * **Attack**: The Zone is currently intruded by an other coalition. There are units of the owning coalition and an other coalition in the Zone.
@ -73,7 +84,7 @@ do -- ZoneGoal
do
--- Captured State Handler OnLeave for ZONE_CAPTURE_COALITION
--- Captured State Handler OnLeave for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnLeaveCaptured
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -81,7 +92,7 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Captured State Handler OnEnter for ZONE_CAPTURE_COALITION
--- Captured State Handler OnEnter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnEnterCaptured
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -93,7 +104,7 @@ do -- ZoneGoal
do
--- Attacked State Handler OnLeave for ZONE_CAPTURE_COALITION
--- Attacked State Handler OnLeave for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnLeaveAttacked
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -101,7 +112,7 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Attacked State Handler OnEnter for ZONE_CAPTURE_COALITION
--- Attacked State Handler OnEnter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnEnterAttacked
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -112,7 +123,7 @@ do -- ZoneGoal
do
--- Guarded State Handler OnLeave for ZONE_CAPTURE_COALITION
--- Guarded State Handler OnLeave for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnLeaveGuarded
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -120,7 +131,7 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Guarded State Handler OnEnter for ZONE_CAPTURE_COALITION
--- Guarded State Handler OnEnter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnEnterGuarded
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -132,7 +143,7 @@ do -- ZoneGoal
do
--- Empty State Handler OnLeave for ZONE_CAPTURE_COALITION
--- Empty State Handler OnLeave for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnLeaveEmpty
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -140,7 +151,7 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Empty State Handler OnEnter for ZONE_CAPTURE_COALITION
--- Empty State Handler OnEnter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnEnterEmpty
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -151,7 +162,7 @@ do -- ZoneGoal
self:AddTransition( "*", "Guard", "Guarded" )
--- Guard Handler OnBefore for ZONE_CAPTURE_COALITION
--- Guard Handler OnBefore for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnBeforeGuard
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -159,25 +170,25 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Guard Handler OnAfter for ZONE_CAPTURE_COALITION
--- Guard Handler OnAfter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnAfterGuard
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
-- @param #string Event
-- @param #string To
--- Guard Trigger for ZONE_CAPTURE_COALITION
--- Guard Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] Guard
-- @param #ZONE_CAPTURE_COALITION self
--- Guard Asynchronous Trigger for ZONE_CAPTURE_COALITION
--- Guard Asynchronous Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] __Guard
-- @param #ZONE_CAPTURE_COALITION self
-- @param #number Delay
self:AddTransition( "*", "Empty", "Empty" )
--- Empty Handler OnBefore for ZONE_CAPTURE_COALITION
--- Empty Handler OnBefore for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnBeforeEmpty
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -185,18 +196,18 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Empty Handler OnAfter for ZONE_CAPTURE_COALITION
--- Empty Handler OnAfter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnAfterEmpty
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
-- @param #string Event
-- @param #string To
--- Empty Trigger for ZONE_CAPTURE_COALITION
--- Empty Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] Empty
-- @param #ZONE_CAPTURE_COALITION self
--- Empty Asynchronous Trigger for ZONE_CAPTURE_COALITION
--- Empty Asynchronous Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] __Empty
-- @param #ZONE_CAPTURE_COALITION self
-- @param #number Delay
@ -204,7 +215,7 @@ do -- ZoneGoal
self:AddTransition( { "Guarded", "Empty" }, "Attack", "Attacked" )
--- Attack Handler OnBefore for ZONE_CAPTURE_COALITION
--- Attack Handler OnBefore for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnBeforeAttack
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -212,25 +223,25 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Attack Handler OnAfter for ZONE_CAPTURE_COALITION
--- Attack Handler OnAfter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnAfterAttack
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
-- @param #string Event
-- @param #string To
--- Attack Trigger for ZONE_CAPTURE_COALITION
--- Attack Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] Attack
-- @param #ZONE_CAPTURE_COALITION self
--- Attack Asynchronous Trigger for ZONE_CAPTURE_COALITION
--- Attack Asynchronous Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] __Attack
-- @param #ZONE_CAPTURE_COALITION self
-- @param #number Delay
self:AddTransition( { "Guarded", "Attacked", "Empty" }, "Capture", "Captured" )
--- Capture Handler OnBefore for ZONE_CAPTURE_COALITION
--- Capture Handler OnBefore for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnBeforeCapture
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
@ -238,18 +249,18 @@ do -- ZoneGoal
-- @param #string To
-- @return #boolean
--- Capture Handler OnAfter for ZONE_CAPTURE_COALITION
--- Capture Handler OnAfter for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] OnAfterCapture
-- @param #ZONE_CAPTURE_COALITION self
-- @param #string From
-- @param #string Event
-- @param #string To
--- Capture Trigger for ZONE_CAPTURE_COALITION
--- Capture Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] Capture
-- @param #ZONE_CAPTURE_COALITION self
--- Capture Asynchronous Trigger for ZONE_CAPTURE_COALITION
--- Capture Asynchronous Trigger for ZONE\_CAPTURE\_COALITION
-- @function [parent=#ZONE_CAPTURE_COALITION] __Capture
-- @param #ZONE_CAPTURE_COALITION self
-- @param #number Delay

View File

@ -2270,6 +2270,7 @@ The amount of seconds to delay the action.</p>
<dl class="function">
<dt>
<em></em>
<a id="#(CARGO_CRATE).CargoCarrier" >
<strong>CARGO_CRATE.CargoCarrier</strong>
</a>
@ -3805,7 +3806,6 @@ The range till cargo will board.</p>
<dl class="function">
<dt>
<em>#number</em>
<a id="#(CARGO_UNIT).RunCount" >
<strong>CARGO_UNIT.RunCount</strong>
</a>

View File

@ -1161,6 +1161,7 @@ function below will use the range 1-7 just in case</p>
<dl class="function">
<dt>
<em></em>
<a id="#(DESIGNATE).LaserCodes" >
<strong>DESIGNATE.LaserCodes</strong>
</a>

View File

@ -2470,7 +2470,6 @@ The index of the DetectedItem.</p>
<dl class="function">
<dt>
<em>#number</em>
<a id="#(DETECTION_BASE).DetectedItemCount" >
<strong>DETECTION_BASE.DetectedItemCount</strong>
</a>
@ -4062,7 +4061,7 @@ Return false to cancel Transition.</p>
<dl class="function">
<dt>
<em>#number</em>
<em></em>
<a id="#(DETECTION_BASE).RefreshTimeInterval" >
<strong>DETECTION_BASE.RefreshTimeInterval</strong>
</a>

View File

@ -3496,7 +3496,6 @@ The y coordinate.</p>
<dl class="function">
<dt>
<em></em>
<a id="#(POINT_VEC2).z" >
<strong>POINT_VEC2.z</strong>
</a>

View File

@ -2309,9 +2309,6 @@ The group that was spawned. You can use this group for further actions.</p>
<p> Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.</p>
</dd>
</dl>
<dl class="function">
@ -2987,6 +2984,9 @@ when nothing was spawned.</p>
<p> Overwrite unit names by default with group name.</p>
</dd>
</dl>
<dl class="function">
@ -3001,6 +3001,9 @@ when nothing was spawned.</p>
<p> By default, no InitLimit</p>
</dd>
</dl>
<dl class="function">
@ -3036,7 +3039,7 @@ when nothing was spawned.</p>
<dl class="function">
<dt>
<em></em>
<em>#number</em>
<a id="#(SPAWN).SpawnMaxGroups" >
<strong>SPAWN.SpawnMaxGroups</strong>
</a>
@ -3053,7 +3056,7 @@ when nothing was spawned.</p>
<dl class="function">
<dt>
<em></em>
<em>#number</em>
<a id="#(SPAWN).SpawnMaxUnitsAlive" >
<strong>SPAWN.SpawnMaxUnitsAlive</strong>
</a>
@ -3381,7 +3384,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
<dl class="function">
<dt>
<em>#boolean</em>
<em></em>
<a id="#(SPAWN).SpawnUnControlled" >
<strong>SPAWN.SpawnUnControlled</strong>
</a>
@ -3405,7 +3408,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
<p> Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.</p>
<p> When the first Spawn executes, all the Groups need to be made visible before start.</p>
</dd>
</dl>

View File

@ -776,6 +776,7 @@ true if it is lasing</p>
<dl class="function">
<dt>
<em></em>
<a id="#(SPOT).ScheduleID" >
<strong>SPOT.ScheduleID</strong>
</a>
@ -789,6 +790,7 @@ true if it is lasing</p>
<dl class="function">
<dt>
<em></em>
<a id="#(SPOT).SpotIR" >
<strong>SPOT.SpotIR</strong>
</a>
@ -802,6 +804,7 @@ true if it is lasing</p>
<dl class="function">
<dt>
<em></em>
<a id="#(SPOT).SpotLaser" >
<strong>SPOT.SpotLaser</strong>
</a>
@ -815,6 +818,7 @@ true if it is lasing</p>
<dl class="function">
<dt>
<em></em>
<a id="#(SPOT).Target" >
<strong>SPOT.Target</strong>
</a>

View File

@ -116,12 +116,17 @@
<div id="content">
<h1>Module <code>ZoneCaptureCoalition</code></h1>
<p><strong>Functional (wIP)</strong> -- Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.</p>
<p><strong>Functional</strong> -- (WIP R2.3) Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.</p>
<hr/>
<p><img src="..\Presentations\ZONE_CAPTURE_COALITION\Dia1.JPG" alt="Banner Image"/></p>
<hr/>
<h3>Contributions: <strong>Millertime</strong>: Concept</h3>
<h3>Author: <strong>Sven Van de Velde (FlightControl)</strong></h3>
<hr/>
@ -132,7 +137,7 @@
<tr>
<td class="name" nowrap="nowrap"><a href="#ZONE_CAPTURE_COALITION">ZONE_CAPTURE_COALITION</a></td>
<td class="summary">
<h1>ZONE<em>CAPTURE</em>COALITION class, extends <a href="ZoneGoalCoalition.html##(ZONE_GOAL_COALITION)">ZoneGoalCoalition#ZONE<em>GOAL</em>COALITION</a></h1>
<h1>ZONE_CAPTURE_COALITION class, extends <a href="ZoneGoalCoalition.html##(ZONE_GOAL_COALITION)">ZoneGoalCoalition#ZONE<em>GOAL</em>COALITION</a></h1>
<p>Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.</p>
</td>
@ -143,25 +148,25 @@
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).Attack">ZONE_CAPTURE_COALITION:Attack()</a></td>
<td class="summary">
<p>Attack Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).Capture">ZONE_CAPTURE_COALITION:Capture()</a></td>
<td class="summary">
<p>Capture Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).Empty">ZONE_CAPTURE_COALITION:Empty()</a></td>
<td class="summary">
<p>Empty Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).Guard">ZONE_CAPTURE_COALITION:Guard()</a></td>
<td class="summary">
<p>Guard Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
@ -215,49 +220,49 @@
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnAfterAttack">ZONE_CAPTURE_COALITION:OnAfterAttack(From, Event, To)</a></td>
<td class="summary">
<p>Attack Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Handler OnAfter for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnAfterCapture">ZONE_CAPTURE_COALITION:OnAfterCapture(From, Event, To)</a></td>
<td class="summary">
<p>Capture Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Handler OnAfter for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnAfterEmpty">ZONE_CAPTURE_COALITION:OnAfterEmpty(From, Event, To)</a></td>
<td class="summary">
<p>Empty Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Handler OnAfter for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnAfterGuard">ZONE_CAPTURE_COALITION:OnAfterGuard(From, Event, To)</a></td>
<td class="summary">
<p>Guard Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Handler OnAfter for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnBeforeAttack">ZONE_CAPTURE_COALITION:OnBeforeAttack(From, Event, To)</a></td>
<td class="summary">
<p>Attack Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Handler OnBefore for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnBeforeCapture">ZONE_CAPTURE_COALITION:OnBeforeCapture(From, Event, To)</a></td>
<td class="summary">
<p>Capture Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Handler OnBefore for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnBeforeEmpty">ZONE_CAPTURE_COALITION:OnBeforeEmpty(From, Event, To)</a></td>
<td class="summary">
<p>Empty Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Handler OnBefore for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).OnBeforeGuard">ZONE_CAPTURE_COALITION:OnBeforeGuard(From, Event, To)</a></td>
<td class="summary">
<p>Guard Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Handler OnBefore for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
@ -287,25 +292,25 @@
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).__Attack">ZONE_CAPTURE_COALITION:__Attack(Delay)</a></td>
<td class="summary">
<p>Attack Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).__Capture">ZONE_CAPTURE_COALITION:__Capture(Delay)</a></td>
<td class="summary">
<p>Capture Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).__Empty">ZONE_CAPTURE_COALITION:__Empty(Delay)</a></td>
<td class="summary">
<p>Empty Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(ZONE_CAPTURE_COALITION).__Guard">ZONE_CAPTURE_COALITION:__Guard(Delay)</a></td>
<td class="summary">
<p>Guard Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
</td>
</tr>
<tr>
@ -351,12 +356,18 @@
</dt>
<dd>
<h1>ZONE<em>CAPTURE</em>COALITION class, extends <a href="ZoneGoalCoalition.html##(ZONE_GOAL_COALITION)">ZoneGoalCoalition#ZONE<em>GOAL</em>COALITION</a></h1>
<h1>ZONE_CAPTURE_COALITION class, extends <a href="ZoneGoalCoalition.html##(ZONE_GOAL_COALITION)">ZoneGoalCoalition#ZONE<em>GOAL</em>COALITION</a></h1>
<p>Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.</p>
<hr/>
<p><img src="..\Presentations\ZONE_CAPTURE_COALITION\Dia1.JPG" alt="Banner Image"/></p>
<hr/>
<p>The Zone is initially <strong>Guarded</strong> by the <strong>owning coalition</strong>, which is the coalition that initially occupies the zone with units of its coalition.
Once units of an other coalition are entering the Zone, the state will change to <strong>Attacked</strong>. As long as these units remain in the zone, the state keeps set to Attacked.
When all units are destroyed in the Zone, the state will change to <strong>Empty</strong>, which expresses that the Zone is empty, and can be captured.
@ -364,15 +375,15 @@ When units of the other coalition are in the Zone, and no other units of the own
<p>Event handlers can be defined by the mission designer to action on the state transitions.</p>
<h2>1. ZONE<em>CAPTURE</em>COALITION constructor</h2>
<h2>1. ZONE_CAPTURE_COALITION constructor</h2>
<ul>
<li><a href="##(ZONE_CAPTURE_COALITION).New">ZONE<em>CAPTURE</em>COALITION.New</a>(): Creates a new ZONE<em>CAPTURE</em>COALITION object.</li>
<li><a href="##(ZONE_CAPTURE_COALITION).New">ZONE<em>CAPTURE</em>COALITION.New</a>(): Creates a new ZONE_CAPTURE_COALITION object.</li>
</ul>
<h2>2. ZONE<em>CAPTURE</em>COALITION is a finite state machine (FSM).</h2>
<h2>2. ZONE_CAPTURE_COALITION is a finite state machine (FSM).</h2>
<h3>2.1 ZONE<em>CAPTURE</em>COALITION States</h3>
<h3>2.1 ZONE_CAPTURE_COALITION States</h3>
<ul>
<li><strong>Captured</strong>: The Zone has been captured by an other coalition.</li>
@ -381,7 +392,7 @@ When units of the other coalition are in the Zone, and no other units of the own
<li><strong>Empty</strong>: The Zone is empty. There is not valid unit in the Zone.</li>
</ul>
<h3>2.2 ZONE<em>CAPTURE</em>COALITION Events</h3>
<h3>2.2 ZONE_CAPTURE_COALITION Events</h3>
<ul>
<li><strong>Capture</strong>: The Zone has been captured by an other coalition.</li>
@ -406,7 +417,7 @@ When units of the other coalition are in the Zone, and no other units of the own
</dt>
<dd>
<p>Attack Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Trigger for ZONE_CAPTURE_COALITION</p>
</dd>
</dl>
@ -419,7 +430,7 @@ When units of the other coalition are in the Zone, and no other units of the own
</dt>
<dd>
<p>Capture Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Trigger for ZONE_CAPTURE_COALITION</p>
</dd>
</dl>
@ -432,7 +443,7 @@ When units of the other coalition are in the Zone, and no other units of the own
</dt>
<dd>
<p>Empty Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Trigger for ZONE_CAPTURE_COALITION</p>
</dd>
</dl>
@ -445,7 +456,7 @@ When units of the other coalition are in the Zone, and no other units of the own
</dt>
<dd>
<p>Guard Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Trigger for ZONE_CAPTURE_COALITION</p>
</dd>
</dl>
@ -592,7 +603,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Attack Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Handler OnAfter for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -623,7 +634,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Capture Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Handler OnAfter for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -654,7 +665,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Empty Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Handler OnAfter for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -685,7 +696,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Guard Handler OnAfter for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Handler OnAfter for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -716,7 +727,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Attack Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Handler OnBefore for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -752,7 +763,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Capture Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Handler OnBefore for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -788,7 +799,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Empty Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Handler OnBefore for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -824,7 +835,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Guard Handler OnBefore for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Handler OnBefore for ZONE_CAPTURE_COALITION</p>
<h3>Parameters</h3>
<ul>
@ -915,7 +926,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Attack Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Attack Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
<h3>Parameter</h3>
<ul>
@ -936,7 +947,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Capture Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Capture Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
<h3>Parameter</h3>
<ul>
@ -957,7 +968,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Empty Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Empty Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
<h3>Parameter</h3>
<ul>
@ -978,7 +989,7 @@ The initial coalition owning the zone.</p>
</dt>
<dd>
<p>Guard Asynchronous Trigger for ZONE<em>CAPTURE</em>COALITION</p>
<p>Guard Asynchronous Trigger for ZONE_CAPTURE_COALITION</p>
<h3>Parameter</h3>
<ul>

View File

@ -733,7 +733,7 @@ which are excellent tools to be reused in an OO environment!.</p>
<tr>
<td class="name" nowrap="nowrap"><a href="ZoneCaptureCoalition.html">ZoneCaptureCoalition</a></td>
<td class="summary">
<p><strong>Functional (wIP)</strong> -- Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.</p>
<p><strong>Functional</strong> -- (WIP R2.3) Models the process to capture a Zone for a Coalition, which is guarded by another Coalition.</p>
</td>
</tr>
<tr>

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB