mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Added DESIGNATE:SetMission() method.
-- Allows to place the designate menu under the menu of the mission.
This commit is contained in:
@@ -292,6 +292,12 @@ each detected set of potential targets can be lased or smoked...</p>
|
||||
<td class="name" nowrap="nowrap"><a href="##(DESIGNATE).MenuStatus">DESIGNATE:MenuStatus(AttackGroup, Duration)</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(DESIGNATE).Mission">DESIGNATE.Mission</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -412,6 +418,12 @@ each detected set of potential targets can be lased or smoked...</p>
|
||||
<td class="name" nowrap="nowrap"><a href="##(DESIGNATE).SetLaserCodes">DESIGNATE:SetLaserCodes(<, LaserCodes)</a></td>
|
||||
<td class="summary">
|
||||
<p>Set an array of possible laser codes.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(DESIGNATE).SetMission">DESIGNATE:SetMission(Mission)</a></td>
|
||||
<td class="summary">
|
||||
<p>Set the MISSION object for which designate will function.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -680,7 +692,12 @@ If not activated, Targets will be selected in a random order, but most like thos
|
||||
|
||||
<p>The example will activate the threat level prioritization for this the Designate object. Threats will be marked based on the threat level of the Target.</p>
|
||||
|
||||
<h2>6. Status Report</h2>
|
||||
<h2>6. Designate Menu Location for a Mission</h2>
|
||||
|
||||
<p>You can make DESIGNATE work for a MISSION object. In this way, the Designate menu will not appear in the root of the radio menu, but in the menu of the Mission.
|
||||
Use the method <a href="##(DESIGNATE).SetMission">DESIGNATE.SetMission</a>() to set the MISSION object for the designate function.</p>
|
||||
|
||||
<h2>7. Status Report</h2>
|
||||
|
||||
<p>A status report is available that displays the current Targets detected, grouped per DetectionItem, and a list of which Targets are currently being marked.</p>
|
||||
|
||||
@@ -900,7 +917,6 @@ 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>
|
||||
@@ -1095,6 +1111,20 @@ function below will use the range 1-7 just in case</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<em></em>
|
||||
<a id="#(DESIGNATE).Mission" >
|
||||
<strong>DESIGNATE.Mission</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
@@ -1711,6 +1741,36 @@ number> LaserCodes</p>
|
||||
<p><em><a href="##(DESIGNATE)">#DESIGNATE</a>:</em></p>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(DESIGNATE).SetMission" >
|
||||
<strong>DESIGNATE:SetMission(Mission)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<p>Set the MISSION object for which designate will function.</p>
|
||||
|
||||
|
||||
<p>When a MISSION object is assigned, the menu for the designation will be located at the Mission Menu.</p>
|
||||
|
||||
<h3>Parameter</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="Tasking.Mission.html##(MISSION)">Tasking.Mission#MISSION</a> Mission </em></code>:
|
||||
The MISSION object.</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Return value</h3>
|
||||
|
||||
<p><em><a href="##(DESIGNATE)">#DESIGNATE</a>:</em></p>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
|
||||
Reference in New Issue
Block a user