new AI_BAI class

This commit is contained in:
FlightControl
2017-05-09 10:40:05 +02:00
parent f181101d8b
commit 743fa8ced1
93 changed files with 3295 additions and 388 deletions

View File

@@ -17,6 +17,7 @@
<a href="index.html">index</a>
</li></ul>
<ul>
<li><a href="AI_BAI.html">AI_BAI</a></li>
<li><a href="AI_Balancer.html">AI_Balancer</a></li>
<li><a href="AI_Cap.html">AI_Cap</a></li>
<li><a href="AI_Cas.html">AI_Cas</a></li>
@@ -128,12 +129,24 @@ A <a href="CLIENT.html">CLIENT</a> needs to be registered within the <a href="MI
<td class="name" nowrap="nowrap"><a href="##(MISSION).AddTask">MISSION:AddTask(Task)</a></td>
<td class="summary">
<p>Register a <a href="Task.html">Task</a> to be completed within the <a href="Mission.html">Mission</a>.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).AssignedGroups">MISSION.AssignedGroups</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).ClassName">MISSION.ClassName</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).ClearGroupAssignment">MISSION:ClearGroupAssignment(MissionGroup)</a></td>
<td class="summary">
<p>Clear the <a href="Group.html">Group</a> assignment from the <a href="Mission.html">Mission</a>.</p>
</td>
</tr>
<tr>
@@ -194,6 +207,12 @@ A <a href="CLIENT.html">CLIENT</a> needs to be registered within the <a href="MI
<td class="name" nowrap="nowrap"><a href="##(MISSION).GetTask">MISSION.GetTask(TaskName, self)</a></td>
<td class="summary">
<p>Get the TASK identified by the TaskNumber from the Mission.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).GetTaskTypes">MISSION:GetTaskTypes()</a></td>
<td class="summary">
</td>
</tr>
<tr>
@@ -230,6 +249,12 @@ A <a href="CLIENT.html">CLIENT</a> needs to be registered within the <a href="MI
<td class="name" nowrap="nowrap"><a href="##(MISSION).IsFAILED">MISSION:IsFAILED()</a></td>
<td class="summary">
<p>Is the <a href="Mission.html">Mission</a> <strong>FAILED</strong>.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).IsGroupAssigned">MISSION:IsGroupAssigned(MissionGroup)</a></td>
<td class="summary">
<p>Returns if the <a href="Mission.html">Mission</a> is assigned to the Group.</p>
</td>
</tr>
<tr>
@@ -416,6 +441,18 @@ A <a href="CLIENT.html">CLIENT</a> needs to be registered within the <a href="MI
<td class="name" nowrap="nowrap"><a href="##(MISSION).ReportOverview">MISSION:ReportOverview(TaskStatus)</a></td>
<td class="summary">
<p>Create a overview report of the Mission (multiple lines).</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).ReportPlayers">MISSION:ReportPlayers()</a></td>
<td class="summary">
<p>Create a player report of the Mission.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).ReportStatus">MISSION:ReportStatus()</a></td>
<td class="summary">
<p>Create a status report of the Mission.</p>
</td>
</tr>
<tr>
@@ -428,6 +465,12 @@ A <a href="CLIENT.html">CLIENT</a> needs to be registered within the <a href="MI
<td class="name" nowrap="nowrap"><a href="##(MISSION).Scoring">MISSION.Scoring</a></td>
<td class="summary">
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(MISSION).SetGroupAssigned">MISSION:SetGroupAssigned(MissionGroup)</a></td>
<td class="summary">
<p>Set <a href="Group.html">Group</a> assigned to the <a href="Mission.html">Mission</a>.</p>
</td>
</tr>
<tr>
@@ -541,8 +584,8 @@ The CLIENT or UNIT of the Player joining the Mission.</p>
</ul>
<h3>Return value</h3>
<p><em>#boolean:</em>
true if Unit is part of a Task in the Mission.</p>
<p><em><a href="##(MISSION)">#MISSION</a>:</em></p>
</dd>
</dl>
@@ -601,6 +644,20 @@ is the <a href="Task.html">Task</a> object.</p>
<p><em><a href="Tasking.Task.html##(TASK)">Tasking.Task#TASK</a>:</em>
The task added.</p>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(MISSION).AssignedGroups" >
<strong>MISSION.AssignedGroups</strong>
</a>
</dt>
<dd>
</dd>
</dl>
<dl class="function">
@@ -615,6 +672,32 @@ The task added.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(MISSION).ClearGroupAssignment" >
<strong>MISSION:ClearGroupAssignment(MissionGroup)</strong>
</a>
</dt>
<dd>
<p>Clear the <a href="Group.html">Group</a> assignment from the <a href="Mission.html">Mission</a>.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Wrapper.Group.html##(GROUP)">Wrapper.Group#GROUP</a> MissionGroup </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="##(MISSION)">#MISSION</a>:</em></p>
</dd>
</dl>
<dl class="function">
@@ -657,8 +740,8 @@ The CLIENT or UNIT of the Player crashing.</p>
</ul>
<h3>Return value</h3>
<p><em>#boolean:</em>
true if Unit is part of a Task in the Mission.</p>
<p><em><a href="##(MISSION)">#MISSION</a>:</em></p>
</dd>
</dl>
@@ -840,6 +923,24 @@ Returns nil if no task was found.</p>
<dl class="function">
<dt>
<a id="#(MISSION).GetTaskTypes" >
<strong>MISSION:GetTaskTypes()</strong>
</a>
</dt>
<dd>
<h3>Return value</h3>
<p><em>#number:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(MISSION).GetTasks" >
<strong>MISSION:GetTasks()</strong>
</a>
@@ -970,6 +1071,32 @@ true if the Mission has a Group.</p>
<p><em>#boolean:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(MISSION).IsGroupAssigned" >
<strong>MISSION:IsGroupAssigned(MissionGroup)</strong>
</a>
</dt>
<dd>
<p>Returns if the <a href="Mission.html">Mission</a> is assigned to the Group.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Wrapper.Group.html##(GROUP)">Wrapper.Group#GROUP</a> MissionGroup </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em>#boolean:</em></p>
</dd>
</dl>
<dl class="function">
@@ -1907,6 +2034,67 @@ self</p>
<p><em>#string:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(MISSION).ReportPlayers" >
<strong>MISSION:ReportPlayers()</strong>
</a>
</dt>
<dd>
<p>Create a player report of the Mission.</p>
<p>This reports provides a one liner of the mission status. It indicates how many players and how many Tasks.</p>
<pre><code>Mission "&lt;MissionName&gt;" - Status "&lt;MissionStatus&gt;"
- Player "&lt;PlayerName&gt;: Task &lt;TaskName&gt; &lt;TaskStatus&gt;, Task &lt;TaskName&gt; &lt;TaskStatus&gt;
- Player &lt;PlayerName&gt;: Task &lt;TaskName&gt; &lt;TaskStatus&gt;, Task &lt;TaskName&gt; &lt;TaskStatus&gt;
- ..
</code></pre>
<h3>Return value</h3>
<p><em>#string:</em></p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(MISSION).ReportStatus" >
<strong>MISSION:ReportStatus()</strong>
</a>
</dt>
<dd>
<p>Create a status report of the Mission.</p>
<p>This reports provides a one liner of the mission status. It indicates how many players and how many Tasks.</p>
<pre><code>Mission "&lt;MissionName&gt;" - Status "&lt;MissionStatus&gt;"
- Task Types: &lt;TaskType&gt;, &lt;TaskType&gt;
- &lt;xx&gt; Planned Tasks (xp)
- &lt;xx&gt; Assigned Tasks(xp)
- &lt;xx&gt; Success Tasks (xp)
- &lt;xx&gt; Hold Tasks (xp)
- &lt;xx&gt; Cancelled Tasks (xp)
- &lt;xx&gt; Aborted Tasks (xp)
- &lt;xx&gt; Failed Tasks (xp)
</code></pre>
<h3>Return value</h3>
<p><em>#string:</em></p>
</dd>
</dl>
<dl class="function">
@@ -1939,6 +2127,32 @@ self</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(MISSION).SetGroupAssigned" >
<strong>MISSION:SetGroupAssigned(MissionGroup)</strong>
</a>
</dt>
<dd>
<p>Set <a href="Group.html">Group</a> assigned to the <a href="Mission.html">Mission</a>.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em><a href="Wrapper.Group.html##(GROUP)">Wrapper.Group#GROUP</a> MissionGroup </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="##(MISSION)">#MISSION</a>:</em></p>
</dd>
</dl>
<dl class="function">