Added RAT documentation.

Caught some user errors for unknown airports etc.
Improved despawn on inactive planes.
This commit is contained in:
funkyfranky 2017-09-11 00:11:50 +02:00
parent 5e0e8f3f73
commit 1baeba251e
17 changed files with 963 additions and 381 deletions

File diff suppressed because it is too large Load Diff

View File

@ -465,6 +465,12 @@ Per one, two, three, four?</p>
<td class="name" nowrap="nowrap"><a href="##(AI_A2A_DISPATCHER).GetDefenderTaskFsm">AI_A2A_DISPATCHER:GetDefenderTaskFsm(Defender)</a></td> <td class="name" nowrap="nowrap"><a href="##(AI_A2A_DISPATCHER).GetDefenderTaskFsm">AI_A2A_DISPATCHER:GetDefenderTaskFsm(Defender)</a></td>
<td class="summary"> <td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(AI_A2A_DISPATCHER).GetDefenderTaskSquadronName">AI_A2A_DISPATCHER:GetDefenderTaskSquadronName(Defender)</a></td>
<td class="summary">
</td> </td>
</tr> </tr>
<tr> <tr>
@ -2545,6 +2551,27 @@ Takeoff From the airbase hot, from the airbase cold, in the air, from the runway
<h3>Parameter</h3>
<ul>
<li>
<p><code><em> Defender </em></code>: </p>
</li>
</ul>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(AI_A2A_DISPATCHER).GetDefenderTaskSquadronName" >
<strong>AI_A2A_DISPATCHER:GetDefenderTaskSquadronName(Defender)</strong>
</a>
</dt>
<dd>
<h3>Parameter</h3> <h3>Parameter</h3>
<ul> <ul>
<li> <li>

View File

@ -927,9 +927,6 @@ 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> </dd>
</dl> </dl>
<dl class="function"> <dl class="function">

View File

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

View File

@ -383,6 +383,18 @@
<td class="summary"> <td class="summary">
<p>Provides a coordinate string of the point, based on a coordinate format system: <p>Provides a coordinate string of the point, based on a coordinate format system:
* Uses default settings in COORDINATE.</p> * Uses default settings in COORDINATE.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).ToStringA2A">COORDINATE:ToStringA2A(Controllable, Settings)</a></td>
<td class="summary">
<p>Provides a coordinate string of the point, based on the A2A coordinate format system.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).ToStringA2G">COORDINATE:ToStringA2G(Controllable, Settings)</a></td>
<td class="summary">
<p>Provides a coordinate string of the point, based on the A2G coordinate format system.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -1938,6 +1950,68 @@ The coordinate Text in the configured coordinate system.</p>
<dl class="function"> <dl class="function">
<dt> <dt>
<a id="#(COORDINATE).ToStringA2A" >
<strong>COORDINATE:ToStringA2A(Controllable, Settings)</strong>
</a>
</dt>
<dd>
<p>Provides a coordinate string of the point, based on the A2A coordinate format system.</p>
<h3>Parameters</h3>
<ul>
<li>
<p><code><em><a href="Wrapper.Controllable.html##(CONTROLLABLE)">Wrapper.Controllable#CONTROLLABLE</a> Controllable </em></code>: </p>
</li>
<li>
<p><code><em><a href="Core.Settings.html##(SETTINGS)">Core.Settings#SETTINGS</a> Settings </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em>#string:</em>
The coordinate Text in the configured coordinate system.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(COORDINATE).ToStringA2G" >
<strong>COORDINATE:ToStringA2G(Controllable, Settings)</strong>
</a>
</dt>
<dd>
<p>Provides a coordinate string of the point, based on the A2G coordinate format system.</p>
<h3>Parameters</h3>
<ul>
<li>
<p><code><em><a href="Wrapper.Controllable.html##(CONTROLLABLE)">Wrapper.Controllable#CONTROLLABLE</a> Controllable </em></code>: </p>
</li>
<li>
<p><code><em><a href="Core.Settings.html##(SETTINGS)">Core.Settings#SETTINGS</a> Settings </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em>#string:</em>
The coordinate Text in the configured coordinate system.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(COORDINATE).ToStringAspect" > <a id="#(COORDINATE).ToStringAspect" >
<strong>COORDINATE:ToStringAspect(TargetCoordinate)</strong> <strong>COORDINATE:ToStringAspect(TargetCoordinate)</strong>
</a> </a>

File diff suppressed because it is too large Load Diff

View File

@ -823,12 +823,6 @@ and any spaces before and after the resulting name are removed.</p>
<td class="name" nowrap="nowrap"><a href="##(SPAWN)._TranslateRotate">SPAWN:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle)</a></td> <td class="name" nowrap="nowrap"><a href="##(SPAWN)._TranslateRotate">SPAWN:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle)</a></td>
<td class="summary"> <td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(SPAWN).uncontrolled">SPAWN.uncontrolled</a></td>
<td class="summary">
</td> </td>
</tr> </tr>
</table> </table>
@ -2201,6 +2195,9 @@ 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> </dd>
</dl> </dl>
<dl class="function"> <dl class="function">
@ -2739,9 +2736,6 @@ when nothing was spawned.</p>
<p> Overwrite unit names by default with group name.</p>
</dd> </dd>
</dl> </dl>
<dl class="function"> <dl class="function">
@ -3139,7 +3133,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
<dl class="function"> <dl class="function">
<dt> <dt>
<em>#boolean</em> <em></em>
<a id="#(SPAWN).SpawnUnControlled" > <a id="#(SPAWN).SpawnUnControlled" >
<strong>SPAWN.SpawnUnControlled</strong> <strong>SPAWN.SpawnUnControlled</strong>
</a> </a>
@ -3743,20 +3737,6 @@ True = Continue Scheduler</p>
</li> </li>
</ul> </ul>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(SPAWN).uncontrolled" >
<strong>SPAWN.uncontrolled</strong>
</a>
</dt>
<dd>
</dd> </dd>
</dl> </dl>

View File

@ -238,6 +238,12 @@
<td class="name" nowrap="nowrap"><a href="##(TASK).GetID">TASK:GetID()</a></td> <td class="name" nowrap="nowrap"><a href="##(TASK).GetID">TASK:GetID()</a></td>
<td class="summary"> <td class="summary">
<p>Gets the ID of the Task</p> <p>Gets the ID of the Task</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(TASK).GetInfo">TASK:GetInfo(TaskInfo)</a></td>
<td class="summary">
<p>Gets the Information of the Task</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -418,6 +424,12 @@
<td class="name" nowrap="nowrap"><a href="##(TASK).MenuAssigned">TASK.MenuAssigned</a></td> <td class="name" nowrap="nowrap"><a href="##(TASK).MenuAssigned">TASK.MenuAssigned</a></td>
<td class="summary"> <td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(TASK).MenuMarkToGroup">TASK:MenuMarkToGroup(TaskGroup)</a></td>
<td class="summary">
</td> </td>
</tr> </tr>
<tr> <tr>
@ -1334,6 +1346,33 @@ TaskID</p>
<dl class="function"> <dl class="function">
<dt> <dt>
<a id="#(TASK).GetInfo" >
<strong>TASK:GetInfo(TaskInfo)</strong>
</a>
</dt>
<dd>
<p>Gets the Information of the Task</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em>#string TaskInfo </em></code>:
The key and title of the task information.</p>
</li>
</ul>
<h3>Return value</h3>
<p><em>#string:</em>
TaskInfoText The Task info text.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(TASK).GetMission" > <a id="#(TASK).GetMission" >
<strong>TASK:GetMission()</strong> <strong>TASK:GetMission()</strong>
</a> </a>
@ -1888,6 +1927,27 @@ true if Unit is part of the Task.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(TASK).MenuMarkToGroup" >
<strong>TASK:MenuMarkToGroup(TaskGroup)</strong>
</a>
</dt>
<dd>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Wrapper.Group.html##(GROUP)">Wrapper.Group#GROUP</a> TaskGroup </em></code>: </p>
</li>
</ul>
</dd> </dd>
</dl> </dl>
<dl class="function"> <dl class="function">

View File

@ -527,7 +527,7 @@ are design patterns allowing efficient (long-lasting) processes and workflows.</
<td class="name" nowrap="nowrap"><a href="Rat.html">Rat</a></td> <td class="name" nowrap="nowrap"><a href="Rat.html">Rat</a></td>
<td class="summary"> <td class="summary">
<ul> <ul>
<li><strong>Functional</strong> -- Create random airtraffic in your missions.</li> <li><strong>Functional</strong> - Create random airtraffic in your missions.</li>
</ul> </ul>
</td> </td>
</tr> </tr>

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB