SPAWN fix issue #410 documentation update

This commit is contained in:
FlightControl 2017-04-12 14:57:55 +02:00
parent 989df023fb
commit 3d6e24b806
7 changed files with 81 additions and 75 deletions

View File

@ -932,6 +932,9 @@ Use the method <a href="##(AI_PATROL_ZONE).ManageDamage">AI<em>PATROL</em>ZONE.M
<p> This table contains the targets detected during patrol.</p>
</dd>
</dl>
<dl class="function">

View File

@ -2445,7 +2445,6 @@ The UNIT carrying the package.</p>
<dl class="function">
<dt>
<em></em>
<a id="#(AI_CARGO_UNIT).CargoCarrier" >
<strong>AI_CARGO_UNIT.CargoCarrier</strong>
</a>

View File

@ -331,13 +331,13 @@ YYYY-MM-DD: CLASS:<strong>NewFunction( Params )</strong> added</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(EVENT).EventText">EVENT:EventText(EventID)</a></td>
<td class="name" nowrap="nowrap"><a href="##(EVENT).Events">EVENT.Events</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(EVENT).Events">EVENT.Events</a></td>
<td class="name" nowrap="nowrap"><a href="##(EVENT).EventsDead">EVENT.EventsDead</a></td>
<td class="summary">
</td>
@ -417,7 +417,7 @@ YYYY-MM-DD: CLASS:<strong>NewFunction( Params )</strong> added</p>
<tr>
<td class="name" nowrap="nowrap"><a href="##(EVENT).Remove">EVENT:Remove(EventClass, EventID)</a></td>
<td class="summary">
<p>Removes an Events entry</p>
<p>Removes a subscription</p>
</td>
</tr>
<tr>
@ -427,15 +427,9 @@ YYYY-MM-DD: CLASS:<strong>NewFunction( Params )</strong> added</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(EVENT).RemoveForGroup">EVENT:RemoveForGroup(GroupName, EventClass, EventID)</a></td>
<td class="name" nowrap="nowrap"><a href="##(EVENT).Reset">EVENT:Reset(EventClass, EventID, EventObject)</a></td>
<td class="summary">
<p>Removes an Events entry for a GROUP.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(EVENT).RemoveForUnit">EVENT:RemoveForUnit(UnitName, EventClass, EventID)</a></td>
<td class="summary">
<p>Removes an Events entry for a UNIT.</p>
<p>Resets subscriptions</p>
</td>
</tr>
<tr>
@ -936,30 +930,22 @@ YYYY-MM-DD: CLASS:<strong>NewFunction( Params )</strong> added</p>
<dl class="function">
<dt>
<a id="#(EVENT).EventText" >
<strong>EVENT:EventText(EventID)</strong>
<em><a href="##(EVENT.Events)">#EVENT.Events</a></em>
<a id="#(EVENT).Events" >
<strong>EVENT.Events</strong>
</a>
</dt>
<dd>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em> EventID </em></code>: </p>
</li>
</ul>
</dd>
</dl>
<dl class="function">
<dt>
<em><a href="##(EVENT.Events)">#EVENT.Events</a></em>
<a id="#(EVENT).Events" >
<strong>EVENT.Events</strong>
<a id="#(EVENT).EventsDead" >
<strong>EVENT.EventsDead</strong>
</a>
</dt>
<dd>
@ -1424,7 +1410,7 @@ The self instance of the class for which the event is captured. When the event h
</dt>
<dd>
<p>Removes an Events entry</p>
<p>Removes a subscription</p>
<h3>Parameters</h3>
<ul>
@ -1471,24 +1457,18 @@ The self instance of the class for which the event is.</p>
<dl class="function">
<dt>
<a id="#(EVENT).RemoveForGroup" >
<strong>EVENT:RemoveForGroup(GroupName, EventClass, EventID)</strong>
<a id="#(EVENT).Reset" >
<strong>EVENT:Reset(EventClass, EventID, EventObject)</strong>
</a>
</dt>
<dd>
<p>Removes an Events entry for a GROUP.</p>
<p>Resets subscriptions</p>
<h3>Parameters</h3>
<ul>
<li>
<p><code><em>#string GroupName </em></code>:
The name of the GROUP.</p>
</li>
<li>
<p><code><em><a href="Core.Base.html##(BASE)">Core.Base#BASE</a> EventClass </em></code>:
The self instance of the class for which the event is.</p>
@ -1498,42 +1478,9 @@ The self instance of the class for which the event is.</p>
<p><code><em><a href="Dcs.DCSWorld.html##(world.event)">Dcs.DCSWorld#world.event</a> EventID </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="##(EVENT.Events)">#EVENT.Events</a>:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(EVENT).RemoveForUnit" >
<strong>EVENT:RemoveForUnit(UnitName, EventClass, EventID)</strong>
</a>
</dt>
<dd>
<p>Removes an Events entry for a UNIT.</p>
<h3>Parameters</h3>
<ul>
<li>
<p><code><em>#string UnitName </em></code>:
The name of the UNIT.</p>
</li>
<li>
<p><code><em><a href="Core.Base.html##(BASE)">Core.Base#BASE</a> EventClass </em></code>:
The self instance of the class for which the event is.</p>
</li>
<li>
<p><code><em><a href="Dcs.DCSWorld.html##(world.event)">Dcs.DCSWorld#world.event</a> EventID </em></code>: </p>
<p><code><em> EventObject </em></code>: </p>
</li>
</ul>

View File

@ -441,6 +441,12 @@
<td class="name" nowrap="nowrap"><a href="##(GROUP).Register">GROUP:Register(GroupName)</a></td>
<td class="summary">
<p>Create a new GROUP from a DCSGroup</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(GROUP).ResetEvents">GROUP:ResetEvents()</a></td>
<td class="summary">
<p>Reset the subscriptions.</p>
</td>
</tr>
<tr>
@ -1642,6 +1648,24 @@ The DCS Group name</p>
<p><em><a href="##(GROUP)">#GROUP</a>:</em>
self</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(GROUP).ResetEvents" >
<strong>GROUP:ResetEvents()</strong>
</a>
</dt>
<dd>
<p>Reset the subscriptions.</p>
<h3>Return value</h3>
<p><em><a href="##(GROUP)">#GROUP</a>:</em></p>
</dd>
</dl>
<dl class="function">

View File

@ -210,7 +210,6 @@ on defined intervals (currently every minute).</p>
<dl class="function">
<dt>
<em>#number</em>
<a id="#(MOVEMENT).AliveUnits" >
<strong>MOVEMENT.AliveUnits</strong>
</a>
@ -219,9 +218,6 @@ on defined intervals (currently every minute).</p>
<p> Contains the counter how many units are currently alive</p>
</dd>
</dl>
<dl class="function">

View File

@ -2566,6 +2566,9 @@ when nothing was spawned.</p>
<p> Overwrite unit names by default with group name.</p>
</dd>
</dl>
<dl class="function">
@ -2829,6 +2832,11 @@ when nothing was spawned.</p>
<p>Note: This method is only required to be called when the schedule was stopped.</p>
<h3>Return value</h3>
<p><em><a href="##(SPAWN)">#SPAWN</a>:</em></p>
</dd>
</dl>
<dl class="function">
@ -2842,6 +2850,11 @@ when nothing was spawned.</p>
<p>Will stop the scheduled spawning scheduler.</p>
<h3>Return value</h3>
<p><em><a href="##(SPAWN)">#SPAWN</a>:</em></p>
</dd>
</dl>
<dl class="function">
@ -2953,7 +2966,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
<dl class="function">
<dt>
<em></em>
<em>#boolean</em>
<a id="#(SPAWN).SpawnUnControlled" >
<strong>SPAWN.SpawnUnControlled</strong>
</a>
@ -2977,7 +2990,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
<p> When the first Spawn executes, all the Groups need to be made visible before start.</p>
<p> Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.</p>
</dd>
</dl>

View File

@ -351,6 +351,12 @@
<td class="name" nowrap="nowrap"><a href="##(UNIT).Register">UNIT:Register(UnitName)</a></td>
<td class="summary">
<p>Create a new UNIT from DCSUnit.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(UNIT).ResetEvents">UNIT:ResetEvents()</a></td>
<td class="summary">
<p>Reset the subscriptions.</p>
</td>
</tr>
<tr>
@ -1513,6 +1519,24 @@ The name of the DCS unit.</p>
<p><em><a href="##(UNIT)">#UNIT</a>:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(UNIT).ResetEvents" >
<strong>UNIT:ResetEvents()</strong>
</a>
</dt>
<dd>
<p>Reset the subscriptions.</p>
<h3>Return value</h3>
<p><em><a href="##(UNIT)">#UNIT</a>:</em></p>
</dd>
</dl>
<dl class="function">