Auto commit by GitHub Actions Workflow

This commit is contained in:
MooseBotter
2024-01-07 13:46:51 +00:00
parent da840480d5
commit c6c7ef9ca5
23 changed files with 1207 additions and 709 deletions
+318 -6
View File
@@ -2040,6 +2040,18 @@ Various methods exist to configure:</p>
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCORING).OnEventPlayerLeaveUnit">SCORING:OnEventPlayerLeaveUnit(Event)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Handles the OnPlayerLeaveUnit event for the scoring.</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCORING).OnKillPvE">SCORING:OnKillPvE(Player, TargetUnitName, IsTeamKill, TargetThreatLevel, PlayerThreatLevelThread, Score, PlayerThreatLevel)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Handles the event when one player kill another player</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCORING).OnKillPvP">SCORING:OnKillPvP(Player, TargetPlayerName, IsTeamKill, TargetThreatLevel, PlayerThreatLevelThread, Score, PlayerThreatLevel)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Handles the event when one player kill another player</p>
</td>
</tr>
<tr class="w3-border">
@@ -2142,6 +2154,12 @@ Various methods exist to configure:</p>
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCORING).ScoreCSV">SCORING:ScoreCSV(PlayerName, TargetPlayerName, ScoreType, ScoreTimes, ScoreAmount, PlayerUnitName, PlayerUnitCoalition, PlayerUnitCategory, PlayerUnitType, TargetUnitName, TargetUnitCoalition, TargetUnitCategory, TargetUnitType)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Registers a score for a player.</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCORING).ScoreIncrementOnHit">SCORING.ScoreIncrementOnHit</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
</td>
</tr>
<tr class="w3-border">
@@ -2238,6 +2256,12 @@ Various methods exist to configure:</p>
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCORING).SetScaleDestroyScore">SCORING:SetScaleDestroyScore(Scale)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Set the scale for scoring valid destroys (enemy destroys).</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(SCORING).SetScoreIncrementOnHit">SCORING:SetScoreIncrementOnHit(score)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Configure to increment score after a target has been hit.</p>
</td>
</tr>
<tr class="w3-border">
@@ -2866,11 +2890,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
#boolean
<a id="#(SCORING).AutoSave" ><strong>SCORING.AutoSave</strong></a>
<p> Create the CSV file.</p>
</div>
</div>
@@ -2992,6 +3019,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
</div>
</div>
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<a id="#(SCORING).ScoreIncrementOnHit" ><strong>SCORING.ScoreIncrementOnHit</strong></a>
</div>
</div>
@@ -3053,7 +3091,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
#boolean
<a id="#(SCORING).penaltyoncoalitionchange" ><strong>SCORING.penaltyoncoalitionchange</strong></a>
@@ -3064,7 +3102,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
#boolean
<a id="#(SCORING).penaltyonfratricide" ><strong>SCORING.penaltyonfratricide</strong></a>
@@ -3791,6 +3829,222 @@ Note that a zone can be a polygon or a moving zone.</p>
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(SCORING).OnKillPvE" ><strong>SCORING:OnKillPvE(Player, TargetUnitName, IsTeamKill, TargetThreatLevel, PlayerThreatLevelThread, Score, PlayerThreatLevel)</strong></a></h2>
</div>
<p>Handles the event when one player kill another player</p>
<div id= "#Functions##OnKillPvE" 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>SCORING</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="##(PLAYER)">#PLAYER</a>
<strong><strong>Player</strong></strong>
</p>
</div>
<div class="w3-half">
<p>the ataching player</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#string
<strong><strong>TargetUnitName</strong></strong>
</p>
</div>
<div class="w3-half">
<p>the name of the killed unit</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="##(bool)">#bool</a>
<strong><strong>IsTeamKill</strong></strong>
</p>
</div>
<div class="w3-half">
<p>true if this kill was a team kill</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>TargetThreatLevel</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Thread level of the target</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>PlayerThreatLevelThread</strong></strong>
</p>
</div>
<div class="w3-half">
<p>level of the player</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>Score</strong></strong>
</p>
</div>
<div class="w3-half">
<p>The score based on both threat levels</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<strong><strong>PlayerThreatLevel</strong></strong>
</p>
</div>
<div class="w3-half">
<p></p>
</div>
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(SCORING).OnKillPvP" ><strong>SCORING:OnKillPvP(Player, TargetPlayerName, IsTeamKill, TargetThreatLevel, PlayerThreatLevelThread, Score, PlayerThreatLevel)</strong></a></h2>
</div>
<p>Handles the event when one player kill another player</p>
<div id= "#Functions##OnKillPvP" 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>SCORING</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="##(PLAYER)">#PLAYER</a>
<strong><strong>Player</strong></strong>
</p>
</div>
<div class="w3-half">
<p>the ataching player</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#string
<strong><strong>TargetPlayerName</strong></strong>
</p>
</div>
<div class="w3-half">
<p>the name of the killed player</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="##(bool)">#bool</a>
<strong><strong>IsTeamKill</strong></strong>
</p>
</div>
<div class="w3-half">
<p>true if this kill was a team kill</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>TargetThreatLevel</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Thread level of the target</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>PlayerThreatLevelThread</strong></strong>
</p>
</div>
<div class="w3-half">
<p>level of the player</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>Score</strong></strong>
</p>
</div>
<div class="w3-half">
<p>The score based on both threat levels</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<strong><strong>PlayerThreatLevel</strong></strong>
</p>
</div>
<div class="w3-half">
<p></p>
</div>
</div>
</div>
</div>
</div>
@@ -4985,6 +5239,50 @@ The scale magnifies the scores given to the players.</p>
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(SCORING).SetScoreIncrementOnHit" ><strong>SCORING:SetScoreIncrementOnHit(score)</strong></a></h2>
</div>
<p>Configure to increment score after a target has been hit.</p>
<div id= "#Functions##SetScoreIncrementOnHit" 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>SCORING</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>
#number
<strong><strong>score</strong></strong>
</p>
</div>
<div class="w3-half">
<p> amount of point to inclement score on each hit</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="##(SCORING)">#SCORING</a>:</p>
</div>
<div class="w3-half">
</div>
</div>
</div>
</div>
</div>
@@ -5452,11 +5750,14 @@ The scale magnifies the scores given to the players.</p>
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
#boolean
<a id="#(SCORING).AutoSave" ><strong>SCORING.AutoSave</strong></a>
<p> Create the CSV file.</p>
</div>
</div>
@@ -5578,6 +5879,17 @@ The scale magnifies the scores given to the players.</p>
</div>
</div>
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<a id="#(SCORING).ScoreIncrementOnHit" ><strong>SCORING.ScoreIncrementOnHit</strong></a>
</div>
</div>
@@ -5639,7 +5951,7 @@ The scale magnifies the scores given to the players.</p>
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
#boolean
<a id="#(SCORING).penaltyoncoalitionchange" ><strong>SCORING.penaltyoncoalitionchange</strong></a>
@@ -5650,7 +5962,7 @@ The scale magnifies the scores given to the players.</p>
<div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
#boolean
<a id="#(SCORING).penaltyonfratricide" ><strong>SCORING.penaltyonfratricide</strong></a>