Auto commit by GitHub Actions Workflow

This commit is contained in:
MooseBotter
2023-10-20 16:47:49 +00:00
parent a72ff8bb97
commit e212156459
144 changed files with 1728 additions and 904 deletions

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head><!-- Global site tag (gtag.js) - Google Analytics --><script async src="https://www.googletagmanager.com/gtag/js?id=UA-97385487-1"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-97385487-1');</script>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-indigo.css">
@@ -2417,6 +2417,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).CommandSetFrequency">CLIENT:CommandSetFrequency(Frequency, Modulation, Delay)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Set radio frequency.</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CLIENT).CommandSetUnlimitedFuel">CLIENT:CommandSetUnlimitedFuel(OnOff, Delay)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Set unlimited fuel.</p>
</td>
</tr>
<tr class="w3-border">
@@ -3323,6 +3329,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).TaskScheduler">CLIENT.TaskScheduler</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CLIENT).TaskStrafing">CLIENT:TaskStrafing(Vec2, AttackQty, Length, WeaponType, WeaponExpend, Direction, GroupAttack)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>(AIR) Strafe the point on the ground.</p>
</td>
</tr>
<tr class="w3-border">
@@ -9470,6 +9482,66 @@ Note that a controllable can only have one beacon activated at a time with the e
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(CLIENT).CommandSetUnlimitedFuel" ><strong>CLIENT:CommandSetUnlimitedFuel(OnOff, Delay)</strong></a></h2>
</div>
<p>Set unlimited fuel.</p>
<p>See <a href="https://wiki.hoggitworld.com/view/DCS_command_setUnlimitedFuel">DCS command Unlimited Fuel</a>.</p>
<div id= "#Functions##CommandSetUnlimitedFuel" 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.Controllable.html##(CONTROLLABLE)">Wrapper.Controllable#CONTROLLABLE</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>OnOff</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Set unlimited fuel on = true or off = false.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>Delay</strong></strong>
</p>
</div>
<div class="w3-half">
<p>(Optional) Set the option only after x seconds.</p>
</div>
</div>
<h2><strong>Return value:</strong></h2>
<div class="w3-row w3-border-bottom w3-margin-left">
<div class="w3-half">
<p><a href="##(CONTROLLABLE)">#CONTROLLABLE</a>:</p>
</div>
<div class="w3-half">
<p>self</p>
</div>
</div>
</div>
</div>
</div>
@@ -19968,6 +20040,135 @@ A given formation can be given.</p>
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(CLIENT).TaskStrafing" ><strong>CLIENT:TaskStrafing(Vec2, AttackQty, Length, WeaponType, WeaponExpend, Direction, GroupAttack)</strong></a></h2>
</div>
<p>(AIR) Strafe the point on the ground.</p>
<div id= "#Functions##TaskStrafing" 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.Controllable.html##(CONTROLLABLE)">Wrapper.Controllable#CONTROLLABLE</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>
<a href="DCS.html##(Vec2)">DCS#Vec2</a>
<strong><strong>Vec2</strong></strong>
</p>
</div>
<div class="w3-half">
<p>2D-coordinates of the point to deliver strafing at.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>AttackQty</strong></strong>
</p>
</div>
<div class="w3-half">
<p>(optional) This parameter limits maximal quantity of attack. The aircraft/controllable will not make more attack than allowed even if the target controllable not destroyed and the aircraft/controllable still have ammo. If not defined the aircraft/controllable will attack target until it will be destroyed or until the aircraft/controllable will run out of ammo.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>Length</strong></strong>
</p>
</div>
<div class="w3-half">
<p>(optional) Length of the strafing area.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>WeaponType</strong></strong>
</p>
</div>
<div class="w3-half">
<p>(optional) The WeaponType. WeaponType is a number associated with a <a href="https://wiki.hoggitworld.com/view/DCS_enum_weapon_flag">corresponding weapons flags</a></p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(AI.Task.WeaponExpend)">DCS#AI.Task.WeaponExpend</a>
<strong><strong>WeaponExpend</strong></strong>
</p>
</div>
<div class="w3-half">
<p>(optional) Determines how much ammunition will be released at each attack. If parameter is not defined the unit / controllable will choose expend on its own discretion, e.g. AI.Task.WeaponExpend.ALL.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Azimuth)">DCS#Azimuth</a>
<strong><strong>Direction</strong></strong>
</p>
</div>
<div class="w3-half">
<p>(optional) Desired ingress direction from the target to the attacking aircraft. Controllable/aircraft will make its attacks from the direction. Of course if there is no way to attack from the direction due the terrain controllable/aircraft will choose another direction.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#boolean
<strong><strong>GroupAttack</strong></strong>
</p>
</div>
<div class="w3-half">
<p>(optional) If true, all units in the group will attack the Unit when found.</p>
</div>
</div>
<h2><strong>Return value:</strong></h2>
<div class="w3-row w3-border-bottom w3-margin-left">
<div class="w3-half">
<p><a href="DCS.html##(Task)">DCS#Task</a>:</p>
</div>
<div class="w3-half">
<p>The DCS task structure.</p>
</div>
</div>
<h2><strong>Usage:</strong></h2>
<pre class="example"><code>local attacker = GROUP:FindByName("Aerial-1")
local attackVec2 = ZONE:New("Strafe Attack"):GetVec2()
-- Attack with any cannons = 805306368, 4 runs, strafe a field of 200 meters
local task = attacker:TaskStrafing(attackVec2,4,200,805306368,AI.Task.WeaponExpend.ALL)
attacker:SetTask(task,2)</code></pre>
</div>
</div>
</div>