mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2026-08-12 04:31:00 +00:00
Auto commit by GitHub Actions Workflow
This commit is contained in:
@@ -2537,6 +2537,12 @@ If the DCS Unit object does not exist or is nil, the CLIENT methods will return
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CLIENT).SetUnitInternalCargo">CLIENT:SetUnitInternalCargo(mass)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Sets the Unit's Internal Cargo Mass, in kg</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CLIENT).SetValidateAndRepositionGroundUnits">CLIENT.SetValidateAndRepositionGroundUnits(Enabled, self)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>This function uses Disposition and other fallback logic to find better ground positions for ground units.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -9659,6 +9665,57 @@ If the unit object exists, the value of the DCS API function <a href="https://wi
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(CLIENT).SetValidateAndRepositionGroundUnits" ><strong>CLIENT.SetValidateAndRepositionGroundUnits(Enabled, self)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>This function uses Disposition and other fallback logic to find better ground positions for ground units.</p>
|
||||
|
||||
|
||||
<ul>
|
||||
<li>NOTE: This is not a spawn randomizer.</li>
|
||||
<li>It will try to find clear ground locations avoiding trees, water, roads, runways, map scenery, statics and other units in the area and modifies the provided positions table.</li>
|
||||
<li>Maintains the original layout and unit positions as close as possible by searching for the next closest valid position to each unit.</li>
|
||||
<li>Uses UTILS.ValidateAndRepositionGroundUnits.</li>
|
||||
</ul>
|
||||
|
||||
<div id= "#Functions##SetValidateAndRepositionGroundUnits" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
<div class="w3-margin-left">
|
||||
<p><a href="Wrapper.Unit.html##(UNIT)">Wrapper.Unit#UNIT</a></p>
|
||||
</div>
|
||||
<h2><strong>Parameters:</strong></h2>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#boolean
|
||||
<strong><strong>Enabled</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Enable/disable the feature.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
<strong><strong>self</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user