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:
@@ -6618,7 +6618,7 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
<p>Scan the zone for the presence of units of the given ObjectCategories.</p>
|
||||
|
||||
|
||||
<p>Note that after a zone has been scanned, the zone can be evaluated by:</p>
|
||||
<p>Note that <strong>only after</strong> a zone has been scanned, the zone can be evaluated by:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="ZONE_RADIUS.IsAllInZoneOfCoalition.html">ZONE_RADIUS.IsAllInZoneOfCoalition</a>(): Scan the presence of units in the zone of a coalition.</li>
|
||||
@@ -6644,7 +6644,7 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>An array of categories of the objects to find in the zone.</p>
|
||||
<p>An array of categories of the objects to find in the zone. E.g. <code>{Object.Category.UNIT}</code></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -6656,12 +6656,12 @@ Note that once a zone has been scanned, multiple evaluations can be done on the
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>An array of unit categories of the objects to find in the zone.</p>
|
||||
<p>An array of unit categories of the objects to find in the zone. E.g. <code>{Unit.Category.GROUND_UNIT,Unit.Category.SHIP}</code></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code> self.Zone:Scan()
|
||||
<pre class="example"><code> self.Zone:Scan({Object.Category.UNIT},{Unit.Category.GROUND_UNIT})
|
||||
local IsAttacked = self.Zone:IsSomeInZoneOfCoalition( self.Coalition )</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user