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:
@@ -1118,6 +1118,22 @@
|
||||
</div>
|
||||
<div class="w3-container w3-padding w3-white picturebox" style="word-break:break-word;"><p>
|
||||
<p><strong>Ops</strong> - Rescue helicopter for carrier operations.</p>
|
||||
</p></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-col s12 m6 l4">
|
||||
<div class="w3-card-4 w3-white w3-margin-16">
|
||||
<div class="w3-display-container w3-text-white w3-text-shadow">
|
||||
<img src= "../Images/CORE_Pathline.png" alt="Image">
|
||||
<div class="w3-display-bottommiddle" style="word-break:break-word;"><h2><strong><a href="Shapes.SHAPE_BASE.html">Shapes.SHAPE_BASE</a></strong></h2></div>
|
||||
</div>
|
||||
<div class="w3-container w3-padding w3-white picturebox" style="word-break:break-word;"><p>
|
||||
<p><strong>Shapes</strong> - Class that serves as the base shapes drawn in the Mission Editor</p>
|
||||
|
||||
|
||||
<h3>Author: <strong>nielsvaes/coconutcockpit</strong></h3>
|
||||
|
||||
<hr/>
|
||||
</p></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2349,6 +2365,12 @@
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).HdgTo">UTILS.HdgTo(a, b)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Returns the heading from one vec3 to another vec3.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).HexToRGBA">UTILS.HexToRGBA(hex_string)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>HexToRGBA</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -3916,17 +3938,17 @@ use negative idp for rounding ahead of decimal place, positive for rounding afte
|
||||
|
||||
myUnit = UNIT:FindByName( "REAPER 1-1" )
|
||||
myTarget = GROUP:FindByName( "BTR-1" )
|
||||
|
||||
|
||||
coordUnit = myUnit:GetCoordinate()
|
||||
coordTarget = myTarget:GetCoordinate()
|
||||
|
||||
|
||||
hdgUnit = myUnit:GetHeading()
|
||||
hdgTarget = coordUnit:HeadingTo( coordTarget )
|
||||
distTarget = coordUnit:Get3DDistance( coordTarget )
|
||||
|
||||
|
||||
clockString = UTILS.ClockHeadingString( hdgUnit, hdgTarget )
|
||||
|
||||
-- Will show this message to REAPER 1-1 in-game: Contact BTR at 3 o'clock for 1134m!
|
||||
|
||||
-- Will show this message to REAPER 1-1 in-game: Contact BTR at 3 o'clock for 1134m!
|
||||
MESSAGE:New("Contact BTR at " .. clockString .. " for " .. distTarget .. "m!):ToUnit( myUnit )</code></pre>
|
||||
|
||||
</div>
|
||||
@@ -5804,6 +5826,49 @@ This function requires you to disable script sanitization in $DCS</em>ROOT\Scrip
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(UTILS).HexToRGBA" ><strong>UTILS.HexToRGBA(hex_string)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>HexToRGBA</p>
|
||||
|
||||
<div id= "#Functions##HexToRGBA" 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>UTILS</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>
|
||||
<strong><strong>hex_string</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>table</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Return value:</strong></h2>
|
||||
<div class="w3-row w3-border-bottom w3-margin-left">
|
||||
<div class="w3-half">
|
||||
<p>#table:</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>R, G, B, A</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6771,7 +6836,7 @@ Returns nil when file cannot be read. Returns a table of data entries if Spawn i
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Returns a table of data entries: <code>{ groupname=groupname, size=size, coordinate=coordinate, template=template, structure=structure, legion=legion, alttemplate=alttemplate }</code>
|
||||
Returns nil when the file cannot be read. </p>
|
||||
Returns nil when the file cannot be read.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user