Fixes accounting of destroy and updated documentation

Destroy events were not correctly accounted for in the new tasking
system. this is now fixed.
This commit is contained in:
FlightControl
2017-03-19 15:02:49 +01:00
parent bf489f6679
commit 4dde14eba6
54 changed files with 1149 additions and 1013 deletions

View File

@@ -183,6 +183,12 @@ Use the method <a href="##(TASK).AddScore">TASK.AddScore</a>() to add scores whe
<td class="name" nowrap="nowrap"><a href="##(TASK).CrashUnit">TASK:CrashUnit(PlayerUnit)</a></td>
<td class="summary">
<p>A PlayerUnit crashed in a Task.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(TASK).Dispatcher">TASK.Dispatcher</a></td>
<td class="summary">
</td>
</tr>
<tr>
@@ -495,6 +501,12 @@ Use the method <a href="##(TASK).AddScore">TASK.AddScore</a>() to add scores whe
<td class="name" nowrap="nowrap"><a href="##(TASK).SetBriefing">TASK:SetBriefing(TaskBriefing)</a></td>
<td class="summary">
<p>Sets a <a href="Task.html">Task</a> briefing.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(TASK).SetDispatcher">TASK:SetDispatcher(Dispatcher)</a></td>
<td class="summary">
<p>Set dispatcher of a task</p>
</td>
</tr>
<tr>
@@ -714,7 +726,7 @@ Use the method <a href="##(TASK).AddScore">TASK.AddScore</a>() to add scores whe
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(TASK).onenterAssigned">TASK:onenterAssigned(Event, From, To)</a></td>
<td class="name" nowrap="nowrap"><a href="##(TASK).onenterAssigned">TASK:onenterAssigned(Event, From, To, PlayerUnit, PlayerName)</a></td>
<td class="summary">
<p>FSM function for a TASK</p>
</td>
@@ -940,6 +952,20 @@ The CLIENT or UNIT of the Player aborting the Task.</p>
<p><em>#boolean:</em>
true if Unit is part of the Task.</p>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(TASK).Dispatcher" >
<strong>TASK.Dispatcher</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
@@ -2012,6 +2038,32 @@ self</p>
<p><em><a href="##(TASK)">#TASK</a>:</em>
self</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(TASK).SetDispatcher" >
<strong>TASK:SetDispatcher(Dispatcher)</strong>
</a>
</dt>
<dd>
<p>Set dispatcher of a task</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Tasking.DetectionManager.html##(DETECTION_MANAGER)">Tasking.DetectionManager#DETECTION_MANAGER</a> Dispatcher </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="##(TASK)">#TASK</a>:</em></p>
</dd>
</dl>
<dl class="function">
@@ -2714,7 +2766,7 @@ self</p>
<dt>
<a id="#(TASK).onenterAssigned" >
<strong>TASK:onenterAssigned(Event, From, To)</strong>
<strong>TASK:onenterAssigned(Event, From, To, PlayerUnit, PlayerName)</strong>
</a>
</dt>
<dd>
@@ -2737,6 +2789,16 @@ self</p>
<p><code><em>#string To </em></code>: </p>
</li>
<li>
<p><code><em> PlayerUnit </em></code>: </p>
</li>
<li>
<p><code><em> PlayerName </em></code>: </p>
</li>
</ul>
</dd>