mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
MOOSE generated documentation [skip ci]
This commit is contained in:
@@ -2188,7 +2188,7 @@ We start the monitoring after 5 seconds, and will repeat every 30 seconds a chec
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(ZONE_CAPTURE_COALITION).GetPreviousCoalition">ZONE_CAPTURE_COALITION:GetPreviousCoalition()</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Get the previous coaliton, i.e.</p>
|
||||
<p>Get the previous coalition, i.e.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -2842,7 +2842,7 @@ We start the monitoring after 5 seconds, and will repeat every 30 seconds a chec
|
||||
<p>Check if zone is "Attacked", i.e.</p>
|
||||
|
||||
|
||||
<p>another coaliton entered the zone.</p>
|
||||
<p>another coalition entered the zone.</p>
|
||||
|
||||
<div id= "#Functions##IsAttacked" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -2938,7 +2938,7 @@ We start the monitoring after 5 seconds, and will repeat every 30 seconds a chec
|
||||
<p>Check if zone is "Guarded", i.e.</p>
|
||||
|
||||
|
||||
<p>only one (the defending) coaliton is present inside the zone.</p>
|
||||
<p>only one (the defending) coalition is present inside the zone.</p>
|
||||
|
||||
<div id= "#Functions##IsGuarded" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -4242,7 +4242,7 @@ end
|
||||
<h2><a id="#(ZONE_CAPTURE_COALITION).GetPreviousCoalition" ><strong>ZONE_CAPTURE_COALITION:GetPreviousCoalition()</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Get the previous coaliton, i.e.</p>
|
||||
<p>Get the previous coalition, i.e.</p>
|
||||
|
||||
|
||||
<p>the one owning the zone before the current one. </p>
|
||||
@@ -6146,7 +6146,7 @@ Returns the Coalition for the given Coalition if there are units of the Coalitio
|
||||
<p>Is All in Zone of Coalition?</p>
|
||||
|
||||
|
||||
<p>Check if only the specifed coalition is inside the zone and noone else.</p>
|
||||
<p>Check if only the specified coalition is inside the zone and noone else.</p>
|
||||
|
||||
<div id= "#Functions##IsAllInZoneOfCoalition" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -6271,8 +6271,10 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code> self.Zone:Scan()
|
||||
local IsEmpty = self.Zone:IsNoneInZone()</code></pre>
|
||||
<pre class="example"><code>
|
||||
self.Zone:Scan()
|
||||
local IsEmpty = self.Zone:IsNoneInZone()
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6320,8 +6322,10 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code> self.Zone:Scan()
|
||||
local IsOccupied = self.Zone:IsNoneInZoneOfCoalition( self.Coalition )</code></pre>
|
||||
<pre class="example"><code>
|
||||
self.Zone:Scan()
|
||||
local IsOccupied = self.Zone:IsNoneInZoneOfCoalition( self.Coalition )
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6337,7 +6341,7 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
<p>Is Some in Zone of Coalition?</p>
|
||||
|
||||
|
||||
<p>Check if more than one coaltion is inside the zone and the specifed coalition is one of them.
|
||||
<p>Check if more than one coalition is inside the zone and the specified coalition is one of them.
|
||||
You first need to use the <a href="##(ZONE_RADIUS).Scan">ZONE_RADIUS.Scan</a> method to scan the zone before it can be evaluated!
|
||||
Note that once a zone has been scanned, multiple evaluations can be done on the scan result set.</p>
|
||||
|
||||
@@ -6357,7 +6361,7 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>ID of the coaliton which is checked to be inside the zone.</p>
|
||||
<p>ID of the coalition which is checked to be inside the zone.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -6373,8 +6377,10 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code> self.Zone:Scan()
|
||||
local IsAttacked = self.Zone:IsSomeInZoneOfCoalition( self.Coalition )</code></pre>
|
||||
<pre class="example"><code>
|
||||
self.Zone:Scan()
|
||||
local IsAttacked = self.Zone:IsSomeInZoneOfCoalition( self.Coalition )
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user