Documentation and new moose.lua for dynamic loading.

This commit is contained in:
FlightControl_Master
2017-10-10 11:07:43 +02:00
parent 6f151a6c5d
commit ddf45d8485
95 changed files with 1373 additions and 116 deletions

View File

@@ -99,6 +99,8 @@
<li><a href="Task_Cargo.html">Task_Cargo</a></li>
<li><a href="Task_PICKUP.html">Task_PICKUP</a></li>
<li><a href="Unit.html">Unit</a></li>
<li><a href="UserFlag.html">UserFlag</a></li>
<li><a href="UserSound.html">UserSound</a></li>
<li><a href="Utils.html">Utils</a></li>
<li><a href="Zone.html">Zone</a></li>
<li><a href="ZoneCaptureCoalition.html">ZoneCaptureCoalition</a></li>
@@ -375,6 +377,12 @@ Various methods exist to configure:</p>
<td class="name" nowrap="nowrap"><a href="##(SCORING).AddGoalScore">SCORING:AddGoalScore(PlayerUnit, GoalTag, Text, Score)</a></td>
<td class="summary">
<p>Add a goal score for a player.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(SCORING).AddGoalScorePlayer">SCORING:AddGoalScorePlayer(PlayerName, GoalTag, Text, Score)</a></td>
<td class="summary">
<p>Add a goal score for a player.</p>
</td>
</tr>
<tr>
@@ -870,6 +878,52 @@ The score can be both positive or negative ( Penalty ).</p>
<dl class="function">
<dt>
<a id="#(SCORING).AddGoalScorePlayer" >
<strong>SCORING:AddGoalScorePlayer(PlayerName, GoalTag, Text, Score)</strong>
</a>
</dt>
<dd>
<p>Add a goal score for a player.</p>
<p>The method takes the Player name for which the Goal score needs to be set.
The GoalTag is a string or identifier that is taken into the CSV file scoring log to identify the goal.
A free text can be given that is shown to the players.
The Score can be both positive and negative.</p>
<h3>Parameters</h3>
<ul>
<li>
<p><code><em>#string PlayerName </em></code>:
The name of the Player.</p>
</li>
<li>
<p><code><em>#string GoalTag </em></code>:
The string or identifier that is used in the CSV file to identify the goal (sort or group later in Excel).</p>
</li>
<li>
<p><code><em>#string Text </em></code>:
A free text that is shown to the players.</p>
</li>
<li>
<p><code><em>#number Score </em></code>:
The score can be both positive or negative ( Penalty ).</p>
</li>
</ul>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(SCORING).AddScoreGroup" >
<strong>SCORING:AddScoreGroup(ScoreGroup, Score)</strong>
</a>