mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Documentation
This commit is contained in:
@@ -1054,8 +1054,8 @@ The <strong>Detection</strong> object is then passed to the <a href="##(AI_A2A_D
|
||||
|
||||
<p>You could build a <strong>mutual defense system</strong> like this:</p>
|
||||
|
||||
<pre><code> A2ADispatcher_Red = AI_A2A_DISPATCHER:New( EWR_Red )
|
||||
A2ADispatcher_Blue = AI_A2A_DISPATCHER:New( EWR_Blue )
|
||||
<pre><code>A2ADispatcher_Red = AI_A2A_DISPATCHER:New( EWR_Red )
|
||||
A2ADispatcher_Blue = AI_A2A_DISPATCHER:New( EWR_Blue )
|
||||
</code></pre>
|
||||
|
||||
<h3>2. Define the detected <strong>target grouping radius</strong>:</h3>
|
||||
@@ -1114,14 +1114,15 @@ when you don't want to let the AI<em>A2A</em>DISPATCHER react immediately when a
|
||||
|
||||
<p>In these examples, the Gci Radius is set to various values:</p>
|
||||
|
||||
<p> -- Now Setup the A2A dispatcher, and initialize it using the Detection object.
|
||||
A2ADispatcher = AI<em>A2A</em>DISPATCHER:New( Detection ) </p>
|
||||
<pre><code>-- Now Setup the A2A dispatcher, and initialize it using the Detection object.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
<p> -- Set 100km as the radius to ground control intercept detected targets from the nearest airbase.
|
||||
A2ADispatcher:SetGciRadius( 100000 )</p>
|
||||
-- Set 100km as the radius to ground control intercept detected targets from the nearest airbase.
|
||||
A2ADispatcher:SetGciRadius( 100000 )
|
||||
|
||||
<p> -- Set 200km as the radius to ground control intercept.
|
||||
A2ADispatcher:SetGciRadius() -- 200000 is the default value.</p>
|
||||
-- Set 200km as the radius to ground control intercept.
|
||||
A2ADispatcher:SetGciRadius() -- 200000 is the default value.
|
||||
</code></pre>
|
||||
|
||||
<h2>5. Set the <strong>borders</strong>:</h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user