mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
Auto commit by GitHub Actions Workflow
This commit is contained in:
@@ -1840,7 +1840,7 @@
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCENERY).GetProperty">SCENERY:GetProperty(PropertyName)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Returns the Value of the zone with the given PropertyName, or nil if no matching property exists.</p>
|
||||
<p>Returns the value of the scenery with the given PropertyName, or nil if no matching property exists.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -1853,6 +1853,12 @@
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCENERY).GetThreatLevel">SCENERY:GetThreatLevel()</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p> Get the threat level of a SCENERY object.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCENERY).HasProperty">SCENERY:HasProperty(PropertyName)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Checks if the value of the scenery with the given PropertyName exists.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -3666,7 +3672,8 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<p> Get current life points from the SCENERY Object.</p>
|
||||
|
||||
|
||||
<p> <strong>CAVEAT</strong>: Some objects change their life value or "hitpoints" <strong>after</strong> the first hit. Hence we will adjust the life0 value to 120%
|
||||
<p>Note - Some scenery objects always have 0 life points.
|
||||
<strong>CAVEAT</strong>: Some objects change their life value or "hitpoints" <strong>after</strong> the first hit. Hence we will adjust the life0 value to 120%
|
||||
of the last life value if life exceeds life0 (initial life) at any point. Thus will will get a smooth percentage decrease, if you use this e.g. as success
|
||||
criteria for a bombing task.</p>
|
||||
|
||||
@@ -3758,7 +3765,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<h2><a id="#(SCENERY).GetProperty" ><strong>SCENERY:GetProperty(PropertyName)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Returns the Value of the zone with the given PropertyName, or nil if no matching property exists.</p>
|
||||
<p>Returns the value of the scenery with the given PropertyName, or nil if no matching property exists.</p>
|
||||
|
||||
<div id= "#Functions##GetProperty" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -3805,7 +3812,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<p> Get SCENERY relative life in percent, e.g.</p>
|
||||
|
||||
|
||||
<p>75.</p>
|
||||
<ol>
|
||||
<li>Note - Some scenery objects always have 0 life points.</li>
|
||||
</ol>
|
||||
|
||||
<div id= "#Functions##GetRelativeLife" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -3867,6 +3876,50 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(SCENERY).HasProperty" ><strong>SCENERY:HasProperty(PropertyName)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Checks if the value of the scenery with the given PropertyName exists.</p>
|
||||
|
||||
<div id= "#Functions##HasProperty" 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>SCENERY</p>
|
||||
</div>
|
||||
<h2><strong>Parameter:</strong></h2>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>PropertyName</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>The name of a the QuadZone Property from the scenery assignment to be retrieved.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Return value:</strong></h2>
|
||||
<div class="w3-row w3-border-bottom w3-margin-left">
|
||||
<div class="w3-half">
|
||||
<p>#boolean:</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Outcome True if it exists, else false.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3878,6 +3931,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
<p> Check if SCENERY Object is alive.</p>
|
||||
|
||||
|
||||
<p>Note - Some scenery objects always have 0 life points.</p>
|
||||
|
||||
<div id= "#Functions##IsAlive" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
@@ -3922,6 +3978,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
<p> Check if SCENERY Object is dead.</p>
|
||||
|
||||
|
||||
<p>Note - Some scenery objects always have 0 life points.</p>
|
||||
|
||||
<div id= "#Functions##IsDead" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
|
||||
Reference in New Issue
Block a user