Remove documentation because it is obscolete.

I need to regenerate the documentation with luadocumentor.lua. Working
on it ...
This commit is contained in:
FlightControl 2016-04-02 08:39:55 +02:00
parent 1f1494e36f
commit 962a3fa11a
37 changed files with 6 additions and 9135 deletions

View File

@ -92,8 +92,8 @@ function BASE:Inherit( Child, Parent )
end
--- This is the worker method to retrieve the Parent class.
-- @param BASE Child is the Child class from which the Parent class needs to be retrieved.
-- @return Parent
-- @param #BASE Child is the Child class from which the Parent class needs to be retrieved.
-- @return #BASE
function BASE:Inherited( Child )
local Parent = getmetatable( Child )
-- env.info('Inherited class of ' .. Child.ClassName .. ' is ' .. Parent.ClassName )

View File

@ -1,12 +1,9 @@
--- Taking the lead of AI escorting your flight.
-- The ESCORT class allows you to interact with escoring AI on your flight and take the lead.
-- The following commands will be available:
--
-- * Pop-up and Scan Area
-- * Re-Join Formation
-- * Hold Position in x km
-- * Report identified targets
-- * Perform tasks per identified target: Report vector to target, paint target, kill target
--
--
--
--
-- @module Escort
-- @author FlightControl

View File

@ -1,216 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><strong>BASE</strong></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>BASE</code></h1>
<p>BASE The base class for all the classes defined within MOOSE.</p>
<p></p>
<h3>Info:</h3>
<ul>
<li><strong>Author</strong>: Flightcontrol</li>
</ul>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#BASE:New">BASE:New ()</a></td>
<td class="summary">The base constructor.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BASE:Inherit">BASE:Inherit (Child, Parent)</a></td>
<td class="summary">This is the worker method to inherit from a parent class.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#BASE:Inherited">BASE:Inherited (Child)</a></td>
<td class="summary">This is the worker method to retrieve the Parent class.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "BASE:New"></a>
<strong>BASE:New ()</strong>
</dt>
<dd>
The base constructor. This is the top top class of all classed defined within the MOOSE.
Any new class needs to be derived from this class for proper inheritance.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/BASE.html#">BASE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="keyword">function</span> TASK:New()
trace.f(self.ClassName)
<span class="keyword">local</span> self = BASE:Inherit( self, BASE:New() )
<span class="comment">-- assign Task default values during construction
</span> self.TaskBriefing = <span class="string">"Task: No Task."</span>
self.Time = timer.getTime()
self.ExecuteStage = _TransportExecuteStage.NONE
<span class="keyword">return</span> self
<span class="keyword">end</span></pre>
</ul>
</dd>
<dt>
<a name = "BASE:Inherit"></a>
<strong>BASE:Inherit (Child, Parent)</strong>
</dt>
<dd>
This is the worker method to inherit from a parent class.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Child</span>
is the Child class that inherits.
</li>
<li><span class="parameter">Parent</span>
is the Parent class that the Child inherits from.
</li>
</ul>
<h3>Returns:</h3>
<ol>
Child
</ol>
</dd>
<dt>
<a name = "BASE:Inherited"></a>
<strong>BASE:Inherited (Child)</strong>
</dt>
<dd>
This is the worker method to retrieve the Parent class.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Child</span>
<span class="types"><a class="type" href="../classes/BASE.html#">BASE</a></span>
is the Child class from which the Parent class needs to be retrieved.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Parent</span></span>
</ol>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,209 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Tables">Tables</a></li>
<li><a href="#Fields">Fields</a></li>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><strong>CARGO</strong></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>CARGO</code></h1>
<p>CARGO Classes</p>
<p></p>
<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CARGO.CARGOS">CARGO.CARGOS</a></td>
<td class="summary">Clients are those Groups defined within the Mission Editor that have the skillset defined as "Client" or "Player".</td>
</tr>
</table>
<h2><a href="#Fields">Fields</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#self.CargoGroupName">self.CargoGroupName</a></td>
<td class="summary">ReSpawn the Cargo from the CargoHost</td>
</tr>
<tr>
<td class="name" nowrap><a href="#self.CargoGroupName">self.CargoGroupName</a></td>
<td class="summary">ReSpawn the Cargo in the CargoZone without a host ...</td>
</tr>
</table>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CARGO:New">CARGO:New (CargoType, CargoName, CargoWeight)</a></td>
<td class="summary">Add Cargo to the mission...</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Tables"></a>Tables</h2>
<dl class="function">
<dt>
<a name = "CARGO.CARGOS"></a>
<strong>CARGO.CARGOS</strong>
</dt>
<dd>
Clients are those Groups defined within the Mission Editor that have the skillset defined as "Client" or "Player".
These clients are defined within the Mission Orchestration Framework (MOF)
</dd>
</dl>
<h2><a name="Fields"></a>Fields</h2>
<dl class="function">
<dt>
<a name = "self.CargoGroupName"></a>
<strong>self.CargoGroupName</strong>
</dt>
<dd>
ReSpawn the Cargo from the CargoHost
</dd>
<dt>
<a name = "self.CargoGroupName"></a>
<strong>self.CargoGroupName</strong>
</dt>
<dd>
ReSpawn the Cargo in the CargoZone without a host ...
</dd>
</dl>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "CARGO:New"></a>
<strong>CARGO:New (CargoType, CargoName, CargoWeight)</strong>
</dt>
<dd>
Add Cargo to the mission... Cargo functionality needs to be reworked a bit, so this is still under construction. I need to make a CARGO Class...
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">CargoType</span>
</li>
<li><span class="parameter">CargoName</span>
</li>
<li><span class="parameter">CargoWeight</span>
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,368 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><strong>CLEANUP</strong></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>CLEANUP</code></h1>
<p>CLEANUP Classes</p>
<p></p>
<h3>Info:</h3>
<ul>
<li><strong>Author</strong>: Flightcontrol</li>
</ul>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CLEANUP:New">CLEANUP:New (ZoneNames, TimeInterval)</a></td>
<td class="summary">Creates the main object which is handling the cleaning of the debris within the given Zone Names.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_DestroyGroup">CLEANUP:_DestroyGroup (GroupObject, CleanUpGroupName)</a></td>
<td class="summary">Destroys a group from the simulator, but checks first if it is still existing!</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_DestroyUnit">CLEANUP:_DestroyUnit (CleanUpUnit, CleanUpUnitName)</a></td>
<td class="summary">Destroys a unit from the simulator, but checks first if it is still existing!</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_DestroyMissile">CLEANUP:_DestroyMissile (MissileObject)</a></td>
<td class="summary">Destroys a missile from the simulator, but checks first if it is still existing!</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_EventCrash">CLEANUP:_EventCrash (event)</a></td>
<td class="summary">Detects if an SA site was shot with an anti radiation missile.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_EventShot">CLEANUP:_EventShot (event)</a></td>
<td class="summary">Detects if an SA site was shot with an anti radiation missile.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_EventHitCleanUp">CLEANUP:_EventHitCleanUp (event)</a></td>
<td class="summary">Detects if the Unit has an S_EVENT_HIT within the given ZoneNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_EventAddForCleanUp">CLEANUP:_EventAddForCleanUp (event)</a></td>
<td class="summary">Detects if the Unit has an S_EVENT_ENGINE_SHUTDOWN or an S_EVENT_HIT within the given ZoneNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_Scheduler">CLEANUP:_Scheduler ()</a></td>
<td class="summary">At the defined time interval, CleanUp the Groups within the CleanUpList.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "CLEANUP:New"></a>
<strong>CLEANUP:New (ZoneNames, TimeInterval)</strong>
</dt>
<dd>
Creates the main object which is handling the cleaning of the debris within the given Zone Names.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">ZoneNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
which is a table of zone names where the debris should be cleaned. Also a single string can be passed with one zone name.
</li>
<li><span class="parameter">TimeInterval</span>
<span class="types">optional <span class="type">number</span></span>
is the interval in seconds when the clean activity takes place. The default is 300 seconds, thus every 5 minutes.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/CLEANUP.html#">CLEANUP</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Clean these Zones.
</span> CleanUpAirports = CLEANUP:New( { <span class="string">'CLEAN Tbilisi'</span>, <span class="string">'CLEAN Kutaisi'</span> }, <span class="number">150</span> )
<span class="keyword">or</span>
CleanUpTbilisi = CLEANUP:New( <span class="string">'CLEAN Tbilisi'</span>, <span class="number">150</span> )
CleanUpKutaisi = CLEANUP:New( <span class="string">'CLEAN Kutaisi'</span>, <span class="number">600</span> )</pre>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_DestroyGroup"></a>
<strong>CLEANUP:_DestroyGroup (GroupObject, CleanUpGroupName)</strong>
</dt>
<dd>
Destroys a group from the simulator, but checks first if it is still existing!
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GroupObject</span>
</li>
<li><span class="parameter">CleanUpGroupName</span>
</li>
</ul>
<h3>See also:</h3>
<ul>
<a href="../classes/CLEANUP.html#">CLEANUP</a>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_DestroyUnit"></a>
<strong>CLEANUP:_DestroyUnit (CleanUpUnit, CleanUpUnitName)</strong>
</dt>
<dd>
Destroys a unit from the simulator, but checks first if it is still existing!
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">CleanUpUnit</span>
</li>
<li><span class="parameter">CleanUpUnitName</span>
</li>
</ul>
<h3>See also:</h3>
<ul>
<a href="../classes/CLEANUP.html#">CLEANUP</a>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_DestroyMissile"></a>
<strong>CLEANUP:_DestroyMissile (MissileObject)</strong>
</dt>
<dd>
Destroys a missile from the simulator, but checks first if it is still existing!
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">MissileObject</span>
</li>
</ul>
<h3>See also:</h3>
<ul>
<a href="../classes/CLEANUP.html#">CLEANUP</a>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_EventCrash"></a>
<strong>CLEANUP:_EventCrash (event)</strong>
</dt>
<dd>
Detects if an SA site was shot with an anti radiation missile. In this case, take evasive actions based on the skill level set within the ME.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
<h3>See also:</h3>
<ul>
<a href="../classes/CLEANUP.html#">CLEANUP</a>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_EventShot"></a>
<strong>CLEANUP:_EventShot (event)</strong>
</dt>
<dd>
Detects if an SA site was shot with an anti radiation missile. In this case, take evasive actions based on the skill level set within the ME.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
<h3>See also:</h3>
<ul>
<a href="../classes/CLEANUP.html#">CLEANUP</a>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_EventHitCleanUp"></a>
<strong>CLEANUP:_EventHitCleanUp (event)</strong>
</dt>
<dd>
Detects if the Unit has an S_EVENT_HIT within the given ZoneNames. If this is the case, destroy the unit.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_EventAddForCleanUp"></a>
<strong>CLEANUP:_EventAddForCleanUp (event)</strong>
</dt>
<dd>
Detects if the Unit has an S_EVENT_ENGINE_SHUTDOWN or an S_EVENT_HIT within the given ZoneNames. If this is the case, add the Group to the CLEANUP List.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_Scheduler"></a>
<strong>CLEANUP:_Scheduler ()</strong>
</dt>
<dd>
At the defined time interval, CleanUp the Groups within the CleanUpList.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,486 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Tables">Tables</a></li>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><strong>CLIENT</strong></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>CLIENT</code></h1>
<p>CLIENT Classes</p>
<p></p>
<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CLIENT.CLIENT">CLIENT.CLIENT</a></td>
<td class="summary">Clients are those Groups defined within the Mission Editor that have the skillset defined as "Client" or "Player".</td>
</tr>
</table>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CLIENT:New">CLIENT:New (ClientName, ClientBriefing)</a></td>
<td class="summary">Use this method to register new Clients within the MOF.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:Reset">CLIENT:Reset (ClientName)</a></td>
<td class="summary">Resets a CLIENT.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:ClientGroup">CLIENT:ClientGroup ()</a></td>
<td class="summary">ClientGroup returns the Group of a Client.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:GetClientGroupUnit">CLIENT:GetClientGroupUnit ()</a></td>
<td class="summary">Returns the Unit of the <a href="../classes/CLIENT.html#">CLIENT</a>.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:GetClientGroupDCSUnit">CLIENT:GetClientGroupDCSUnit ()</a></td>
<td class="summary">Returns the DCSUnit of the <a href="../classes/CLIENT.html#">CLIENT</a>.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:ClientPosition">CLIENT:ClientPosition ()</a></td>
<td class="summary">Returns the Position of the <a href="../classes/CLIENT.html#">CLIENT</a>.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:Transport">CLIENT:Transport ()</a></td>
<td class="summary">Transport defines that the Client is a Transport.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:AddBriefing">CLIENT:AddBriefing (ClientBriefing)</a></td>
<td class="summary">AddBriefing adds a briefing to a Client when a Player joins a Mission.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:IsTransport">CLIENT:IsTransport ()</a></td>
<td class="summary">IsTransport returns if a Client is a transport.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:ShowCargo">CLIENT:ShowCargo ()</a></td>
<td class="summary">ShowCargo shows the <a href="../classes/CARGO.html#">CARGO</a> within the CLIENT to the Player.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:SwitchMessages">CLIENT:SwitchMessages (PrmTable)</a></td>
<td class="summary">SwitchMessages is a local function called by the DCS World Menu system to switch off messages.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLIENT:Message">CLIENT:Message (Message, MessageDuration, MessageId, MessageCategory, MessageInterval)</a></td>
<td class="summary">Message is the key Message driver for the CLIENT class.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Tables"></a>Tables</h2>
<dl class="function">
<dt>
<a name = "CLIENT.CLIENT"></a>
<strong>CLIENT.CLIENT</strong>
</dt>
<dd>
Clients are those Groups defined within the Mission Editor that have the skillset defined as "Client" or "Player".
These clients are defined within the Mission Orchestration Framework (MOF)
<h3>Fields:</h3>
<ul>
<li><span class="parameter">ONBOARDSIDE</span>
</li>
<li><span class="parameter">LEFT</span>
</li>
<li><span class="parameter">RIGHT</span>
</li>
<li><span class="parameter">BACK</span>
</li>
<li><span class="parameter">FRONT</span>
</li>
</ul>
</dd>
</dl>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "CLIENT:New"></a>
<strong>CLIENT:New (ClientName, ClientBriefing)</strong>
</dt>
<dd>
Use this method to register new Clients within the MOF.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">ClientName</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group as defined within the Mission Editor. The Group must have a Unit with the type Client.
</li>
<li><span class="parameter">ClientBriefing</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Text that describes the briefing of the mission when a Player logs into the Client.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Create new Clients.
</span> <span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'Russia Transport Troops SA-6'</span>, <span class="string">'Operational'</span>, <span class="string">'Transport troops from the control center to one of the SA-6 SAM sites to activate their operation.'</span>, <span class="string">'Russia'</span> )
Mission:AddGoal( DeploySA6TroopsGoal )
Mission:AddClient( CLIENT:New( <span class="string">'RU MI-8MTV2*HOT-Deploy Troops 1'</span> ):Transport() )
Mission:AddClient( CLIENT:New( <span class="string">'RU MI-8MTV2*RAMP-Deploy Troops 3'</span> ):Transport() )
Mission:AddClient( CLIENT:New( <span class="string">'RU MI-8MTV2*HOT-Deploy Troops 2'</span> ):Transport() )
Mission:AddClient( CLIENT:New( <span class="string">'RU MI-8MTV2*RAMP-Deploy Troops 4'</span> ):Transport() )</pre>
</ul>
</dd>
<dt>
<a name = "CLIENT:Reset"></a>
<strong>CLIENT:Reset (ClientName)</strong>
</dt>
<dd>
Resets a CLIENT.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">ClientName</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group as defined within the Mission Editor. The Group must have a Unit with the type Client.
</li>
</ul>
</dd>
<dt>
<a name = "CLIENT:ClientGroup"></a>
<strong>CLIENT:ClientGroup ()</strong>
</dt>
<dd>
ClientGroup returns the Group of a Client.
This function is modified to deal with a couple of bugs in DCS 1.5.3
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Group</span></span>
</ol>
</dd>
<dt>
<a name = "CLIENT:GetClientGroupUnit"></a>
<strong>CLIENT:GetClientGroupUnit ()</strong>
</dt>
<dd>
Returns the Unit of the <a href="../classes/CLIENT.html#">CLIENT</a>.
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Unit</span></span>
</ol>
</dd>
<dt>
<a name = "CLIENT:GetClientGroupDCSUnit"></a>
<strong>CLIENT:GetClientGroupDCSUnit ()</strong>
</dt>
<dd>
Returns the DCSUnit of the <a href="../classes/CLIENT.html#">CLIENT</a>.
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">DCSUnit</span></span>
</ol>
</dd>
<dt>
<a name = "CLIENT:ClientPosition"></a>
<strong>CLIENT:ClientPosition ()</strong>
</dt>
<dd>
Returns the Position of the <a href="../classes/CLIENT.html#">CLIENT</a>.
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">Position</span></span>
</ol>
</dd>
<dt>
<a name = "CLIENT:Transport"></a>
<strong>CLIENT:Transport ()</strong>
</dt>
<dd>
Transport defines that the Client is a Transport.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
</ol>
</dd>
<dt>
<a name = "CLIENT:AddBriefing"></a>
<strong>CLIENT:AddBriefing (ClientBriefing)</strong>
</dt>
<dd>
AddBriefing adds a briefing to a Client when a Player joins a Mission.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">ClientBriefing</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the text defining the Mission briefing.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
</ol>
</dd>
<dt>
<a name = "CLIENT:IsTransport"></a>
<strong>CLIENT:IsTransport ()</strong>
</dt>
<dd>
IsTransport returns if a Client is a transport.
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
</ol>
</dd>
<dt>
<a name = "CLIENT:ShowCargo"></a>
<strong>CLIENT:ShowCargo ()</strong>
</dt>
<dd>
ShowCargo shows the <a href="../classes/CARGO.html#">CARGO</a> within the CLIENT to the Player.
The <a href="../classes/CARGO.html#">CARGO</a> is shown throught the MESSAGE system of DCS World.
</dd>
<dt>
<a name = "CLIENT:SwitchMessages"></a>
<strong>CLIENT:SwitchMessages (PrmTable)</strong>
</dt>
<dd>
SwitchMessages is a local function called by the DCS World Menu system to switch off messages.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">PrmTable</span>
</li>
</ul>
</dd>
<dt>
<a name = "CLIENT:Message"></a>
<strong>CLIENT:Message (Message, MessageDuration, MessageId, MessageCategory, MessageInterval)</strong>
</dt>
<dd>
Message is the key Message driver for the CLIENT class.
This function displays various messages to the Player logged into the CLIENT through the DCS World Messaging system.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Message</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the text describing the message.
</li>
<li><span class="parameter">MessageDuration</span>
<span class="types"><span class="type">number</span></span>
is the duration in seconds that the Message should be displayed.
</li>
<li><span class="parameter">MessageId</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a text identifying the Message in the MessageQueue. The Message system overwrites Messages with the same MessageId
</li>
<li><span class="parameter">MessageCategory</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the category of the message (the title).
</li>
<li><span class="parameter">MessageInterval</span>
<span class="types"><span class="type">number</span></span>
is the interval in seconds between the display of the Message when the CLIENT is in the air.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,392 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
<li><a href="#Private">Private </a></li>
<li><a href="#Events">Events </a></li>
<li><a href="#Scheduled">Scheduled </a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><strong>DATABASE</strong></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>DATABASE</code></h1>
<p>Administers the Initial Sets of the Mission Templates as defined within the Mission Editor.</p>
<p>
Administers the Spawning of new Groups within the DCSRTE and administers these new Groups within the DATABASE object(s).</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DATABASE:New">DATABASE:New ()</a></td>
<td class="summary">Creates a new DATABASE Object to administer the Groups defined and alive within the DCSRTE.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DATABASE:Spawn">DATABASE:Spawn (SpawnTemplate)</a></td>
<td class="summary">Instantiate new Groups within the DCSRTE.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DATABASE:SetStatusGroup">DATABASE:SetStatusGroup (GroupName, Status)</a></td>
<td class="summary">Set a status to a Group within the Database, this to check crossing events for example.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DATABASE:GetStatusGroup">DATABASE:GetStatusGroup (GroupName)</a></td>
<td class="summary">Get a status to a Group within the Database, this to check crossing events for example.</td>
</tr>
</table>
<h2><a href="#Private">Private </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DATABASE:_RegisterGroup">DATABASE:_RegisterGroup (GroupTemplate)</a></td>
<td class="summary">Registers new Group Templates within the DATABASE Object.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DATABASE:_AddPlayerFromUnit">DATABASE:_AddPlayerFromUnit (UnitData)</a></td>
<td class="summary">Add a new player entering a Unit.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DATABASE:_AddMissionTaskScore">DATABASE:_AddMissionTaskScore (PlayerUnit, MissionName, Score)</a></td>
<td class="summary">Registers Scores the players completing a Mission Task.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DATABASE:_AddMissionScore">DATABASE:_AddMissionScore (MissionName, Score)</a></td>
<td class="summary">Registers Mission Scores for possible multiple players that contributed in the Mission.</td>
</tr>
</table>
<h2><a href="#Events">Events </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DATABASE:OnDeadOrCrash">DATABASE:OnDeadOrCrash (event)</a></td>
<td class="summary">Track DCSRTE DEAD or CRASH events for the internal scoring.</td>
</tr>
</table>
<h2><a href="#Scheduled">Scheduled </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DATABASE:_FollowPlayers">DATABASE:_FollowPlayers ()</a></td>
<td class="summary">Follows new players entering Clients within the DCSRTE.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "DATABASE:New"></a>
<strong>DATABASE:New ()</strong>
</dt>
<dd>
Creates a new DATABASE Object to administer the Groups defined and alive within the DCSRTE.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/DATABASE.html#">DATABASE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Define a new DATABASE Object. This DBObject will contain a reference to all Group and Unit Templates defined within the ME and the DCSRTE.
</span> DBObject = DATABASE:New()</pre>
</ul>
</dd>
<dt>
<a name = "DATABASE:Spawn"></a>
<strong>DATABASE:Spawn (SpawnTemplate)</strong>
</dt>
<dd>
Instantiate new Groups within the DCSRTE.
This method expects EXACTLY the same structure as a structure within the ME, and needs 2 additional fields defined:
SpawnCountryID, SpawnCategoryID
This method is used by the SPAWN class.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SpawnTemplate</span>
</li>
</ul>
</dd>
<dt>
<a name = "DATABASE:SetStatusGroup"></a>
<strong>DATABASE:SetStatusGroup (GroupName, Status)</strong>
</dt>
<dd>
Set a status to a Group within the Database, this to check crossing events for example.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GroupName</span>
</li>
<li><span class="parameter">Status</span>
</li>
</ul>
</dd>
<dt>
<a name = "DATABASE:GetStatusGroup"></a>
<strong>DATABASE:GetStatusGroup (GroupName)</strong>
</dt>
<dd>
Get a status to a Group within the Database, this to check crossing events for example.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GroupName</span>
</li>
</ul>
</dd>
</dl>
<h2><a name="Private"></a>Private </h2>
<dl class="function">
<dt>
<a name = "DATABASE:_RegisterGroup"></a>
<strong>DATABASE:_RegisterGroup (GroupTemplate)</strong>
</dt>
<dd>
Registers new Group Templates within the DATABASE Object.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GroupTemplate</span>
</li>
</ul>
</dd>
<dt>
<a name = "DATABASE:_AddPlayerFromUnit"></a>
<strong>DATABASE:_AddPlayerFromUnit (UnitData)</strong>
</dt>
<dd>
Add a new player entering a Unit.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">UnitData</span>
</li>
</ul>
</dd>
<dt>
<a name = "DATABASE:_AddMissionTaskScore"></a>
<strong>DATABASE:_AddMissionTaskScore (PlayerUnit, MissionName, Score)</strong>
</dt>
<dd>
Registers Scores the players completing a Mission Task.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">PlayerUnit</span>
</li>
<li><span class="parameter">MissionName</span>
</li>
<li><span class="parameter">Score</span>
</li>
</ul>
</dd>
<dt>
<a name = "DATABASE:_AddMissionScore"></a>
<strong>DATABASE:_AddMissionScore (MissionName, Score)</strong>
</dt>
<dd>
Registers Mission Scores for possible multiple players that contributed in the Mission.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">MissionName</span>
</li>
<li><span class="parameter">Score</span>
</li>
</ul>
</dd>
</dl>
<h2><a name="Events"></a>Events </h2>
<dl class="function">
<dt>
<a name = "DATABASE:OnDeadOrCrash"></a>
<strong>DATABASE:OnDeadOrCrash (event)</strong>
</dt>
<dd>
Track DCSRTE DEAD or CRASH events for the internal scoring.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
<span class="types"><span class="type">self</span></span>
T( { event } )
</li>
</ul>
</dd>
</dl>
<h2><a name="Scheduled"></a>Scheduled </h2>
<dl class="function">
<dt>
<a name = "DATABASE:_FollowPlayers"></a>
<strong>DATABASE:_FollowPlayers ()</strong>
</dt>
<dd>
Follows new players entering Clients within the DCSRTE.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,162 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><strong>DEPLOYTASK</strong></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>DEPLOYTASK</code></h1>
<p>A DEPLOYTASK orchestrates the deployment of CARGO within a specific landing zone.</p>
<p></p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DEPLOYTASK:New">DEPLOYTASK:New (LandingZones, CargoType)</a></td>
<td class="summary">Creates a new DEPLOYTASK object, which models the sequence of STAGEs to unload a cargo.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DEPLOYTASK:SetCargoTargetZoneName">DEPLOYTASK:SetCargoTargetZoneName (TargetZoneName)</a></td>
<td class="summary">When the cargo is unloaded, it will move to the target zone name.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "DEPLOYTASK:New"></a>
<strong>DEPLOYTASK:New (LandingZones, CargoType)</strong>
</dt>
<dd>
Creates a new DEPLOYTASK object, which models the sequence of STAGEs to unload a cargo.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">LandingZones</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Table or name of the zone(s) where Cargo is to be unloaded.
</li>
<li><span class="parameter">CargoType</span>
<span class="types"><a class="type" href="../classes/CARGO.html#">CARGO_TYPE</a></span>
Type of the Cargo.
</li>
</ul>
</dd>
<dt>
<a name = "DEPLOYTASK:SetCargoTargetZoneName"></a>
<strong>DEPLOYTASK:SetCargoTargetZoneName (TargetZoneName)</strong>
</dt>
<dd>
When the cargo is unloaded, it will move to the target zone name.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">TargetZoneName</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Zone to where the Cargo should move after unloading.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,202 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><strong>DESTROYBASETASK</strong></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>DESTROYBASETASK</code></h1>
<p>A DESTROYBASETASK will monitor the destruction of Groups and Units.</p>
<p> This is a BASE class, other classes are derived from this class.</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DESTROYBASETASK:New">DESTROYBASETASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupPrefixes, DestroyPercentage)</a></td>
<td class="summary">Creates a new DESTROYBASETASK.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DESTROYBASETASK:EventDead">DESTROYBASETASK:EventDead (event)</a></td>
<td class="summary">Handle the S_EVENT_DEAD events to validate the destruction of units for the task monitoring.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DESTROYBASETASK:ReportGoalProgress">DESTROYBASETASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</a></td>
<td class="summary">Validate task completeness of DESTROYBASETASK.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "DESTROYBASETASK:New"></a>
<strong>DESTROYBASETASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupPrefixes, DestroyPercentage)</strong>
</dt>
<dd>
Creates a new DESTROYBASETASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroupType</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Text describing the group to be destroyed. f.e. "Radar Installations", "Ships", "Vehicles", "Command Centers".
</li>
<li><span class="parameter">DestroyUnitType</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Text describing the unit types to be destroyed. f.e. "SA-6", "Row Boats", "Tanks", "Tents".
</li>
<li><span class="parameter">DestroyGroupPrefixes</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a></span>
Table of Prefixes of the Groups to be destroyed before task is completed.
</li>
<li><span class="parameter">DestroyPercentage</span>
<span class="types">optional <span class="type">number</span></span>
defines the %-tage that needs to be destroyed to achieve mission success. eg. If in the Group there are 10 units, then a value of 75 would require 8 units to be destroyed from the Group to complete the <a href="../classes/TASK.html#">TASK</a>.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/DESTROYBASETASK.html#">DESTROYBASETASK</a></span>
</ol>
</dd>
<dt>
<a name = "DESTROYBASETASK:EventDead"></a>
<strong>DESTROYBASETASK:EventDead (event)</strong>
</dt>
<dd>
Handle the S_EVENT_DEAD events to validate the destruction of units for the task monitoring.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
Event structure of DCS world.
</li>
</ul>
</dd>
<dt>
<a name = "DESTROYBASETASK:ReportGoalProgress"></a>
<strong>DESTROYBASETASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</strong>
</dt>
<dd>
Validate task completeness of DESTROYBASETASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroup</span>
Group structure describing the group to be evaluated.
</li>
<li><span class="parameter">DestroyUnit</span>
Unit structure describing the Unit to be evaluated.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,215 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Tables">Tables</a></li>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><strong>DESTROYGROUPSTASK</strong></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>DESTROYGROUPSTASK</code></h1>
<p>DESTROYGROUPSTASK</p>
<p></p>
<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DESTROYGROUPSTASK.DESTROYGROUPSTASK">DESTROYGROUPSTASK.DESTROYGROUPSTASK</a></td>
<td class="summary">To monitor and score the destruction of Groups in the DCSRTE.</td>
</tr>
</table>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DESTROYGROUPSTASK:New">DESTROYGROUPSTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyPercentage)</a></td>
<td class="summary">Creates a new DESTROYGROUPSTASK.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DESTROYGROUPSTASK:ReportGoalProgress">DESTROYGROUPSTASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</a></td>
<td class="summary">Report Goal Progress.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Tables"></a>Tables</h2>
<dl class="function">
<dt>
<a name = "DESTROYGROUPSTASK.DESTROYGROUPSTASK"></a>
<strong>DESTROYGROUPSTASK.DESTROYGROUPSTASK</strong>
</dt>
<dd>
To monitor and score the destruction of Groups in the DCSRTE.
<h3>Fields:</h3>
<ul>
<li><span class="parameter">ClassName</span>
</li>
<li><span class="parameter">GoalVerb</span>
</li>
</ul>
</dd>
</dl>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "DESTROYGROUPSTASK:New"></a>
<strong>DESTROYGROUPSTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyPercentage)</strong>
</dt>
<dd>
Creates a new DESTROYGROUPSTASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroupType</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
String describing the group to be destroyed.
</li>
<li><span class="parameter">DestroyUnitType</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
String describing the unit to be destroyed.
</li>
<li><span class="parameter">DestroyGroupNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a></span>
Table of string containing the name of the groups to be destroyed before task is completed.
</li>
<li><span class="parameter">DestroyPercentage</span>
<span class="types">optional <span class="type">number</span></span>
defines the %-tage that needs to be destroyed to achieve mission success. eg. If in the Group there are 10 units, then a value of 75 would require 8 units to be destroyed from the Group to complete the <a href="../classes/TASK.html#">TASK</a>.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/DESTROYGROUPSTASK.html#">DESTROYGROUPSTASK</a></span>
</ol>
</dd>
<dt>
<a name = "DESTROYGROUPSTASK:ReportGoalProgress"></a>
<strong>DESTROYGROUPSTASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</strong>
</dt>
<dd>
Report Goal Progress.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroup</span>
<span class="types"><span class="type">Group</span></span>
Group structure describing the group to be evaluated.
</li>
<li><span class="parameter">DestroyUnit</span>
<span class="types"><span class="type">Unit</span></span>
Unit structure describing the Unit to be evaluated.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,168 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><strong>DESTROYRADARSTASK</strong></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>DESTROYRADARSTASK</code></h1>
<p>Task class to destroy radar installations.</p>
<p></p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DESTROYRADARSTASK:New">DESTROYRADARSTASK:New (DestroyGroupNames)</a></td>
<td class="summary">Creates a new DESTROYRADARSTASK.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DESTROYRADARSTASK:ReportGoalProgress">DESTROYRADARSTASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</a></td>
<td class="summary">Report Goal Progress.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "DESTROYRADARSTASK:New"></a>
<strong>DESTROYRADARSTASK:New (DestroyGroupNames)</strong>
</dt>
<dd>
Creates a new DESTROYRADARSTASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroupNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a></span>
Table of string containing the group names of which the radars are be destroyed.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/DESTROYRADARSTASK.html#">DESTROYRADARSTASK</a></span>
</ol>
</dd>
<dt>
<a name = "DESTROYRADARSTASK:ReportGoalProgress"></a>
<strong>DESTROYRADARSTASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</strong>
</dt>
<dd>
Report Goal Progress.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroup</span>
<span class="types"><span class="type">Group</span></span>
Group structure describing the group to be evaluated.
</li>
<li><span class="parameter">DestroyUnit</span>
<span class="types"><span class="type">Unit</span></span>
Unit structure describing the Unit to be evaluated.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,180 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><strong>DESTROYUNITTYPESTASK</strong></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>DESTROYUNITTYPESTASK</code></h1>
<p>Set TASK to destroy certain unit types.</p>
<p></p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#DESTROYUNITTYPESTASK:New">DESTROYUNITTYPESTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyUnitTypes)</a></td>
<td class="summary">Creates a new DESTROYUNITTYPESTASK.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#DESTROYUNITTYPESTASK:ReportGoalProgress">DESTROYUNITTYPESTASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</a></td>
<td class="summary">Report Goal Progress.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "DESTROYUNITTYPESTASK:New"></a>
<strong>DESTROYUNITTYPESTASK:New (DestroyGroupType, DestroyUnitType, DestroyGroupNames, DestroyUnitTypes)</strong>
</dt>
<dd>
Creates a new DESTROYUNITTYPESTASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroupType</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
String describing the group to be destroyed. f.e. "Radar Installations", "Fleet", "Batallion", "Command Centers".
</li>
<li><span class="parameter">DestroyUnitType</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
String describing the unit to be destroyed. f.e. "radars", "ships", "tanks", "centers".
</li>
<li><span class="parameter">DestroyGroupNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a></span>
Table of string containing the group names of which the radars are be destroyed.
</li>
<li><span class="parameter">DestroyUnitTypes</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Table of string containing the type names of the units to achieve mission success.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/DESTROYUNITTYPESTASK.html#">DESTROYUNITTYPESTASK</a></span>
</ol>
</dd>
<dt>
<a name = "DESTROYUNITTYPESTASK:ReportGoalProgress"></a>
<strong>DESTROYUNITTYPESTASK:ReportGoalProgress (DestroyGroup, DestroyUnit)</strong>
</dt>
<dd>
Report Goal Progress.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">DestroyGroup</span>
<span class="types"><span class="type">Group</span></span>
Group structure describing the group to be evaluated.
</li>
<li><span class="parameter">DestroyUnit</span>
<span class="types"><span class="type">Unit</span></span>
Unit structure describing the Unit to be evaluated.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,139 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><strong>GOHOMETASK</strong></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>GOHOMETASK</code></h1>
<p>A GOHOMETASK orchestrates the travel back to the home base, which is a specific zone defined within the ME.</p>
<p></p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#GOHOMETASK:New">GOHOMETASK:New (LandingZones)</a></td>
<td class="summary">Creates a new GOHOMETASK.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "GOHOMETASK:New"></a>
<strong>GOHOMETASK:New (LandingZones)</strong>
</dt>
<dd>
Creates a new GOHOMETASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">LandingZones</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Table of Landing Zone names where Home(s) are located.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/GOHOMETASK.html#">GOHOMETASK</a></span>
</ol>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,97 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><strong>GROUP</strong></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>GROUP</code></h1>
<p>GROUP Classes</p>
<p></p>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,97 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><strong>MENU</strong></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>MENU</code></h1>
<p>Encapsulation of DCS World Menu system in a set of MENU classes.</p>
<p></p>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,393 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
<li><a href="#Class_MESSAGEQUEUE">Class MESSAGEQUEUE </a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><strong>MESSAGE</strong></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>MESSAGE</code></h1>
<p>Message System to display Messages for Clients and Coalitions or All.</p>
<p>
Messages are grouped on the display panel per Category to improve readability for the players.
Messages are shown on the display panel for an amount of seconds, and will then disappear.
Messages are identified by an ID. The messages with the same ID belonging to the same category will be overwritten if they were still being displayed on the display panel.
Messages are created with MESSAGE:<a href="../classes/MESSAGE.html#MESSAGE:New">New</a>().
Messages are sent to Clients with MESSAGE:<a href="../classes/MESSAGE.html#MESSAGE:ToClient">ToClient</a>().
Messages are sent to Coalitions with MESSAGE:<a href="../classes/MESSAGE.html#MESSAGE:ToCoalition">ToCoalition</a>().
Messages are sent to All Players with MESSAGE:<a href="../classes/MESSAGE.html#MESSAGE:ToAll">ToAll</a>().</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MESSAGE:New">MESSAGE:New (MessageText, MessageCategory, MessageDuration, MessageID)</a></td>
<td class="summary">Creates a new MESSAGE object.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MESSAGE:ToClient">MESSAGE:ToClient (Client)</a></td>
<td class="summary">Sends a MESSAGE to a Client Group.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MESSAGE:ToBlue">MESSAGE:ToBlue ()</a></td>
<td class="summary">Sends a MESSAGE to the Blue coalition.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MESSAGE:ToRed">MESSAGE:ToRed ()</a></td>
<td class="summary">Sends a MESSAGE to the Red Coalition.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MESSAGE:ToCoalition">MESSAGE:ToCoalition (CoalitionSide)</a></td>
<td class="summary">Sends a MESSAGE to a Coalition.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MESSAGE:ToAll">MESSAGE:ToAll ()</a></td>
<td class="summary">Sends a MESSAGE to all players.</td>
</tr>
</table>
<h2><a href="#Class_MESSAGEQUEUE">Class MESSAGEQUEUE </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MESSAGEQUEUE:_DisplayMessages">MESSAGEQUEUE:_DisplayMessages ()</a></td>
<td class="summary">This function is called automatically by the MESSAGEQUEUE scheduler.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "MESSAGE:New"></a>
<strong>MESSAGE:New (MessageText, MessageCategory, MessageDuration, MessageID)</strong>
</dt>
<dd>
Creates a new MESSAGE object. Note that these MESSAGE objects are not yet displayed on the display panel. You must use the functions <a href="../classes/MESSAGE.html#MESSAGE:ToClient">ToClient</a> or <a href="../classes/MESSAGE.html#MESSAGE:ToCoalition">ToCoalition</a> or <a href="../classes/MESSAGE.html#MESSAGE:ToAll">ToAll</a> to send these Messages to the respective recipients.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">MessageText</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the text of the Message.
</li>
<li><span class="parameter">MessageCategory</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a string expressing the Category of the Message. Messages are grouped on the display panel per Category to improve readability.
</li>
<li><span class="parameter">MessageDuration</span>
<span class="types"><span class="type">number</span></span>
is a number in seconds of how long the MESSAGE should be shown on the display panel.
</li>
<li><span class="parameter">MessageID</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a string expressing the ID of the Message.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MESSAGE.html#">MESSAGE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Create a series of new Messages.
</span> <span class="comment">-- MessageAll is meant to be sent to all players, for 25 seconds, and is classified as "Score".
</span> <span class="comment">-- MessageRED is meant to be sent to the RED players only, for 10 seconds, and is classified as "End of Mission", with ID "Win".
</span> <span class="comment">-- MessageClient1 is meant to be sent to a Client, for 25 seconds, and is classified as "Score", with ID "Score".
</span> <span class="comment">-- MessageClient1 is meant to be sent to a Client, for 25 seconds, and is classified as "Score", with ID "Score".
</span> MessageAll = MESSAGE:New( <span class="string">"To all Players: BLUE has won! Each player of BLUE wins 50 points!"</span>, <span class="string">"End of Mission"</span>, <span class="number">25</span>, <span class="string">"Win"</span> )
MessageRED = MESSAGE:New( <span class="string">"To the RED Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )
MessageClient1 = MESSAGE:New( <span class="string">"Congratulations, you've just hit a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )
MessageClient2 = MESSAGE:New( <span class="string">"Congratulations, you've just killed a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MESSAGE:ToClient"></a>
<strong>MESSAGE:ToClient (Client)</strong>
</dt>
<dd>
Sends a MESSAGE to a Client Group. Note that the Group needs to be defined within the ME with the skillset "Client" or "Player".
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Client</span>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
is the Group of the Client.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MESSAGE.html#">MESSAGE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Send the 2 messages created with the <a href="../classes/MESSAGE.html#MESSAGE:New">New</a> method to the Client Group.
</span> <span class="comment">-- Note that the Message of MessageClient2 is overwriting the Message of MessageClient1.
</span> ClientGroup = Group.getByName( <span class="string">"ClientGroup"</span> )
MessageClient1 = MESSAGE:New( <span class="string">"Congratulations, you've just hit a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToClient( ClientGroup )
MessageClient2 = MESSAGE:New( <span class="string">"Congratulations, you've just killed a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToClient( ClientGroup )
<span class="keyword">or</span>
MESSAGE:New( <span class="string">"Congratulations, you've just hit a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToClient( ClientGroup )
MESSAGE:New( <span class="string">"Congratulations, you've just killed a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToClient( ClientGroup )
<span class="keyword">or</span>
MessageClient1 = MESSAGE:New( <span class="string">"Congratulations, you've just hit a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )
MessageClient2 = MESSAGE:New( <span class="string">"Congratulations, you've just killed a target"</span>, <span class="string">"Score"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )
MessageClient1:ToClient( ClientGroup )
MessageClient2:ToClient( ClientGroup )</pre>
</ul>
</dd>
<dt>
<a name = "MESSAGE:ToBlue"></a>
<strong>MESSAGE:ToBlue ()</strong>
</dt>
<dd>
Sends a MESSAGE to the Blue coalition.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MESSAGE.html#">MESSAGE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Send a message created with the <a href="../classes/MESSAGE.html#MESSAGE:New">New</a> method to the BLUE coalition.
</span> MessageBLUE = MESSAGE:New( <span class="string">"To the BLUE Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToBlue()
<span class="keyword">or</span>
MESSAGE:New( <span class="string">"To the BLUE Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToBlue()
<span class="keyword">or</span>
MessageBLUE = MESSAGE:New( <span class="string">"To the BLUE Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )
MessageBLUE:ToBlue()</pre>
</ul>
</dd>
<dt>
<a name = "MESSAGE:ToRed"></a>
<strong>MESSAGE:ToRed ()</strong>
</dt>
<dd>
Sends a MESSAGE to the Red Coalition.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MESSAGE.html#">MESSAGE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Send a message created with the <a href="../classes/MESSAGE.html#MESSAGE:New">New</a> method to the RED coalition.
</span> MessageRED = MESSAGE:New( <span class="string">"To the RED Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToRed()
<span class="keyword">or</span>
MESSAGE:New( <span class="string">"To the RED Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToRed()
<span class="keyword">or</span>
MessageRED = MESSAGE:New( <span class="string">"To the RED Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )
MessageRED:ToRed()</pre>
</ul>
</dd>
<dt>
<a name = "MESSAGE:ToCoalition"></a>
<strong>MESSAGE:ToCoalition (CoalitionSide)</strong>
</dt>
<dd>
Sends a MESSAGE to a Coalition.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">CoalitionSide</span>
needs to be filled out by the defined structure of the standard scripting engine ???.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MESSAGE.html#">MESSAGE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Send a message created with the <a href="../classes/MESSAGE.html#MESSAGE:New">New</a> method to the RED coalition.
</span> MessageRED = MESSAGE:New( <span class="string">"To the RED Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToCoalition( coalition.side.RED )
<span class="keyword">or</span>
MESSAGE:New( <span class="string">"To the RED Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> ):ToCoalition( coalition.side.RED )
<span class="keyword">or</span>
MessageRED = MESSAGE:New( <span class="string">"To the RED Players: You receive a penalty because you've killed one of your own units"</span>, <span class="string">"Penalty"</span>, <span class="number">25</span>, <span class="string">"Score"</span> )
MessageRED:ToCoalition( coalition.side.RED )</pre>
</ul>
</dd>
<dt>
<a name = "MESSAGE:ToAll"></a>
<strong>MESSAGE:ToAll ()</strong>
</dt>
<dd>
Sends a MESSAGE to all players.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MESSAGE.html#">MESSAGE</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Send a message created to all players.
</span> MessageAll = MESSAGE:New( <span class="string">"To all Players: BLUE has won! Each player of BLUE wins 50 points!"</span>, <span class="string">"End of Mission"</span>, <span class="number">25</span>, <span class="string">"Win"</span> ):ToAll()
<span class="keyword">or</span>
MESSAGE:New( <span class="string">"To all Players: BLUE has won! Each player of BLUE wins 50 points!"</span>, <span class="string">"End of Mission"</span>, <span class="number">25</span>, <span class="string">"Win"</span> ):ToAll()
<span class="keyword">or</span>
MessageAll = MESSAGE:New( <span class="string">"To all Players: BLUE has won! Each player of BLUE wins 50 points!"</span>, <span class="string">"End of Mission"</span>, <span class="number">25</span>, <span class="string">"Win"</span> )
MessageAll:ToAll()</pre>
</ul>
</dd>
</dl>
<h2><a name="Class_MESSAGEQUEUE"></a>Class MESSAGEQUEUE </h2>
MESSAGEQUEUE
<dl class="function">
<dt>
<a name = "MESSAGEQUEUE:_DisplayMessages"></a>
<strong>MESSAGEQUEUE:_DisplayMessages ()</strong>
</dt>
<dd>
This function is called automatically by the MESSAGEQUEUE scheduler.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,886 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
<li><a href="#Class_MISSIONSCHEDULER">Class MISSIONSCHEDULER </a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><strong>MISSION</strong></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>MISSION</code></h1>
<p>A MISSION is the main owner of a Mission orchestration within MOOSE .</p>
<p> The Mission framework orchestrates <a href="../classes/CLIENT.html#">CLIENT</a>s, <a href="../classes/TASK.html#">TASK</a>s, <a href="../classes/STAGE.html#">STAGE</a>s etc.
A <a href="../classes/CLIENT.html#">CLIENT</a> needs to be registered within the <a href="../classes/MISSION.html#">MISSION</a> through the function <a href="../classes/MISSION.html#MISSION:AddClient">AddClient</a>. A <a href="../classes/TASK.html#">TASK</a> needs to be registered within the <a href="../classes/MISSION.html#">MISSION</a> through the function <a href="../classes/MISSION.html#MISSION:AddTask">AddTask</a>.</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MISSION:New">MISSION:New (MissionName, MissionPriority, MissionBriefing, MissionCoalition)</a></td>
<td class="summary">This is the main MISSION declaration method.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:IsCompleted">MISSION:IsCompleted ()</a></td>
<td class="summary">Returns if a Mission has completed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:Completed">MISSION:Completed ()</a></td>
<td class="summary">Set a Mission to completed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:IsOngoing">MISSION:IsOngoing ()</a></td>
<td class="summary">Returns if a Mission is ongoing.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:Ongoing">MISSION:Ongoing ()</a></td>
<td class="summary">Set a Mission to ongoing.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:IsPending">MISSION:IsPending ()</a></td>
<td class="summary">Returns if a Mission is pending.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:Pending">MISSION:Pending ()</a></td>
<td class="summary">Set a Mission to pending.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:IsFailed">MISSION:IsFailed ()</a></td>
<td class="summary">Returns if a Mission has failed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:Failed">MISSION:Failed ()</a></td>
<td class="summary">Set a Mission to failed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:StatusToClients">MISSION:StatusToClients ()</a></td>
<td class="summary">Send the status of the MISSION to all Clients.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:ReportTrigger">MISSION:ReportTrigger ()</a></td>
<td class="summary">Handles the reporting.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:ReportToAll">MISSION:ReportToAll ()</a></td>
<td class="summary">Report the status of all MISSIONs to all active Clients.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:AddGoalFunction">MISSION:AddGoalFunction (GoalFunction)</a></td>
<td class="summary">Add a goal function to a MISSION.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:ShowBriefing">MISSION:ShowBriefing (Client)</a></td>
<td class="summary">Show the briefing of the MISSION to the CLIENT.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:AddClient">MISSION:AddClient (Client)</a></td>
<td class="summary">Register a new <a href="../classes/CLIENT.html#">CLIENT</a> to participate within the mission.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:FindClient">MISSION:FindClient (ClientName)</a></td>
<td class="summary">Find a <a href="../classes/CLIENT.html#">CLIENT</a> object within the <a href="../classes/MISSION.html#">MISSION</a> by its ClientName.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:AddTask">MISSION:AddTask (Task, TaskNumber)</a></td>
<td class="summary">Register a <a href="../classes/TASK.html#">TASK</a> to be completed within the <a href="../classes/MISSION.html#">MISSION</a>.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:GetTask">MISSION:GetTask (TaskNumber)</a></td>
<td class="summary">Get the TASK idenified by the TaskNumber from the Mission.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSION:GetTasks">MISSION:GetTasks ()</a></td>
<td class="summary">Get all the TASKs from the Mission.</td>
</tr>
</table>
<h2><a href="#Class_MISSIONSCHEDULER">Class MISSIONSCHEDULER </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER.Scheduler">MISSIONSCHEDULER.Scheduler ()</a></td>
<td class="summary">This is the main MISSIONSCHEDULER Scheduler function.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER.Start">MISSIONSCHEDULER.Start ()</a></td>
<td class="summary">Start the MISSIONSCHEDULER.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER.Stop">MISSIONSCHEDULER.Stop ()</a></td>
<td class="summary">Stop the MISSIONSCHEDULER.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER.AddMission">MISSIONSCHEDULER.AddMission (Mission)</a></td>
<td class="summary">This is the main MISSION declaration method.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER.RemoveMission">MISSIONSCHEDULER.RemoveMission (MissionName)</a></td>
<td class="summary">Remove a MISSION from the MISSIONSCHEDULER.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER.FindMission">MISSIONSCHEDULER.FindMission (MissionName)</a></td>
<td class="summary">Find a MISSION within the MISSIONSCHEDULER.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER.ReportMenu">MISSIONSCHEDULER.ReportMenu ()</a></td>
<td class="summary">Enables a MENU option in the communications menu under F10 to control the status of the active missions.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MISSIONSCHEDULER:TimeShow">MISSIONSCHEDULER:TimeShow ()</a></td>
<td class="summary">Show the remaining mission time.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "MISSION:New"></a>
<strong>MISSION:New (MissionName, MissionPriority, MissionBriefing, MissionCoalition)</strong>
</dt>
<dd>
This is the main MISSION declaration method. Each Mission is like the master or a Mission orchestration between, Clients, Tasks, Stages etc.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">MissionName</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the mission. This name will be used to reference the status of each mission by the players.
</li>
<li><span class="parameter">MissionPriority</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a string indicating the "priority" of the Mission. f.e. "Primary", "Secondary" or "First", "Second". It is free format and up to the Mission designer to choose. There are no rules behind this field.
</li>
<li><span class="parameter">MissionBriefing</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a string indicating the mission briefing to be shown when a player joins a <a href="../classes/CLIENT.html#">CLIENT</a>.
</li>
<li><span class="parameter">MissionCoalition</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a string indicating the coalition or party to which this mission belongs to. It is free format and can be chosen freely by the mission designer. Note that this field is not to be confused with the coalition concept of the ME. Examples of a Mission Coalition could be "NATO", "CCCP", "Intruders", "Terrorists"...
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MISSION.html#">MISSION</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Declare a few missions.
</span> <span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'Russia Transport Troops SA-6'</span>, <span class="string">'Operational'</span>, <span class="string">'Transport troops from the control center to one of the SA-6 SAM sites to activate their operation.'</span>, <span class="string">'Russia'</span> )
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'Patriots'</span>, <span class="string">'Primary'</span>, <span class="string">'Our intelligence reports that 3 Patriot SAM defense batteries are located near Ruisi, Kvarhiti and Gori.'</span>, <span class="string">'Russia'</span> )
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'Package Delivery'</span>, <span class="string">'Operational'</span>, <span class="string">'In order to be in full control of the situation, we need you to deliver a very important package at a secret location. Fly undetected through the NATO defenses and deliver the secret package. The secret agent is located at waypoint 4.'</span>, <span class="string">'Russia'</span> )
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'Rescue General'</span>, <span class="string">'Tactical'</span>, <span class="string">'Our intelligence has received a remote signal behind Gori. We believe it is a very important Russian General that was captured by Georgia. Go out there and rescue him! Ensure you stay out of the battle zone, keep south. Waypoint 4 is the location of our Russian General.'</span>, <span class="string">'Russia'</span> )
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'NATO Transport Troops'</span>, <span class="string">'Operational'</span>, <span class="string">'Transport 3 groups of air defense engineers from our barracks "Gold" and "Titan" to each patriot battery control center to activate our air defenses.'</span>, <span class="string">'NATO'</span> )
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'SA-6 SAMs'</span>, <span class="string">'Primary'</span>, <span class="string">'Our intelligence reports that 3 SA-6 SAM defense batteries are located near Didmukha, Khetagurov and Berula. Eliminate the Russian SAMs.'</span>, <span class="string">'NATO'</span> )
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'NATO Sling Load'</span>, <span class="string">'Operational'</span>, <span class="string">'Fly to the cargo pickup zone at Dzegvi or Kaspi, and sling the cargo to Soganlug airbase.'</span>, <span class="string">'NATO'</span> )
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'Rescue secret agent'</span>, <span class="string">'Tactical'</span>, <span class="string">'In order to be in full control of the situation, we need you to rescue a secret agent from the woods behind enemy lines. Avoid the Russian defenses and rescue the agent. Keep south until Khasuri, and keep your eyes open for any SAM presence. The agent is located at waypoint 4 on your kneeboard.'</span>, <span class="string">'NATO'</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MISSION:IsCompleted"></a>
<strong>MISSION:IsCompleted ()</strong>
</dt>
<dd>
Returns if a Mission has completed.
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
</ol>
</dd>
<dt>
<a name = "MISSION:Completed"></a>
<strong>MISSION:Completed ()</strong>
</dt>
<dd>
Set a Mission to completed.
</dd>
<dt>
<a name = "MISSION:IsOngoing"></a>
<strong>MISSION:IsOngoing ()</strong>
</dt>
<dd>
Returns if a Mission is ongoing.
treturn bool
</dd>
<dt>
<a name = "MISSION:Ongoing"></a>
<strong>MISSION:Ongoing ()</strong>
</dt>
<dd>
Set a Mission to ongoing.
</dd>
<dt>
<a name = "MISSION:IsPending"></a>
<strong>MISSION:IsPending ()</strong>
</dt>
<dd>
Returns if a Mission is pending.
treturn bool
</dd>
<dt>
<a name = "MISSION:Pending"></a>
<strong>MISSION:Pending ()</strong>
</dt>
<dd>
Set a Mission to pending.
</dd>
<dt>
<a name = "MISSION:IsFailed"></a>
<strong>MISSION:IsFailed ()</strong>
</dt>
<dd>
Returns if a Mission has failed.
treturn bool
</dd>
<dt>
<a name = "MISSION:Failed"></a>
<strong>MISSION:Failed ()</strong>
</dt>
<dd>
Set a Mission to failed.
</dd>
<dt>
<a name = "MISSION:StatusToClients"></a>
<strong>MISSION:StatusToClients ()</strong>
</dt>
<dd>
Send the status of the MISSION to all Clients.
</dd>
<dt>
<a name = "MISSION:ReportTrigger"></a>
<strong>MISSION:ReportTrigger ()</strong>
</dt>
<dd>
Handles the reporting. After certain time intervals, a MISSION report MESSAGE will be shown to All Players.
</dd>
<dt>
<a name = "MISSION:ReportToAll"></a>
<strong>MISSION:ReportToAll ()</strong>
</dt>
<dd>
Report the status of all MISSIONs to all active Clients.
</dd>
<dt>
<a name = "MISSION:AddGoalFunction"></a>
<strong>MISSION:AddGoalFunction (GoalFunction)</strong>
</dt>
<dd>
Add a goal function to a MISSION. Goal functions are called when a <a href="../classes/TASK.html#">TASK</a> within a mission has been completed.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalFunction</span>
<span class="types"><span class="type">function</span></span>
is the function defined by the mission designer to evaluate whether a certain goal has been reached after a <a href="../classes/TASK.html#">TASK</a> finishes within the <a href="../classes/MISSION.html#">MISSION</a>. A GoalFunction must accept 2 parameters: Mission, Client, which contains the current MISSION object and the current CLIENT object respectively.
</li>
</ul>
<h3>Usage:</h3>
<ul>
<pre class="example">
PatriotActivation = {
{ <span class="string">"US SAM Patriot Zerti"</span>, <span class="keyword">false</span> },
{ <span class="string">"US SAM Patriot Zegduleti"</span>, <span class="keyword">false</span> },
{ <span class="string">"US SAM Patriot Gvleti"</span>, <span class="keyword">false</span> }
}
<span class="keyword">function</span> DeployPatriotTroopsGoal( Mission, Client )
<span class="comment">-- Check if the cargo is all deployed for mission success.
</span> <span class="keyword">for</span> CargoID, CargoData <span class="keyword">in</span> <span class="global">pairs</span>( Mission._Cargos ) <span class="keyword">do</span>
<span class="keyword">if</span> Group.getByName( CargoData.CargoGroupName ) <span class="keyword">then</span>
CargoGroup = Group.getByName( CargoData.CargoGroupName )
<span class="keyword">if</span> CargoGroup <span class="keyword">then</span>
<span class="comment">-- Check if the cargo is ready to activate
</span> CurrentLandingZoneID = routines.IsUnitInZones( CargoGroup:getUnits()[<span class="number">1</span>], Mission:GetTask( <span class="number">2</span> ).LandingZones ) <span class="comment">-- The second task is the Deploytask to measure mission success upon
</span> <span class="keyword">if</span> CurrentLandingZoneID <span class="keyword">then</span>
<span class="keyword">if</span> PatriotActivation[CurrentLandingZoneID][<span class="number">2</span>] == <span class="keyword">false</span> <span class="keyword">then</span>
<span class="comment">-- Now check if this is a new Mission Task to be completed...
</span> trigger.action.setGroupAIOn( Group.getByName( PatriotActivation[CurrentLandingZoneID][<span class="number">1</span>] ) )
PatriotActivation[CurrentLandingZoneID][<span class="number">2</span>] = <span class="keyword">true</span>
MessageToBlue( <span class="string">"Mission Command: Message to all airborne units! The "</span> .. PatriotActivation[CurrentLandingZoneID][<span class="number">1</span>] .. <span class="string">" is armed. Our air defenses are now stronger."</span>, <span class="number">60</span>, <span class="string">"BLUE/PatriotDefense"</span> )
MessageToRed( <span class="string">"Mission Command: Our satellite systems are detecting additional NATO air defenses. To all airborne units: Take care!!!"</span>, <span class="number">60</span>, <span class="string">"RED/PatriotDefense"</span> )
Mission:GetTask( <span class="number">2</span> ):AddGoalCompletion( <span class="string">"Patriots activated"</span>, PatriotActivation[CurrentLandingZoneID][<span class="number">1</span>], <span class="number">1</span> ) <span class="comment">-- Register Patriot activation as part of mission goal.
</span> <span class="keyword">end</span>
<span class="keyword">end</span>
<span class="keyword">end</span>
<span class="keyword">end</span>
<span class="keyword">end</span>
<span class="keyword">end</span>
<span class="keyword">local</span> Mission = MISSIONSCHEDULER.AddMission( <span class="string">'NATO Transport Troops'</span>, <span class="string">'Operational'</span>, <span class="string">'Transport 3 groups of air defense engineers from our barracks "Gold" and "Titan" to each patriot battery control center to activate our air defenses.'</span>, <span class="string">'NATO'</span> )
Mission:AddGoalFunction( DeployPatriotTroopsGoal )</pre>
</ul>
</dd>
<dt>
<a name = "MISSION:ShowBriefing"></a>
<strong>MISSION:ShowBriefing (Client)</strong>
</dt>
<dd>
Show the briefing of the MISSION to the CLIENT.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Client</span>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
to show briefing to.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
</ol>
</dd>
<dt>
<a name = "MISSION:AddClient"></a>
<strong>MISSION:AddClient (Client)</strong>
</dt>
<dd>
Register a new <a href="../classes/CLIENT.html#">CLIENT</a> to participate within the mission.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Client</span>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
is the <a href="../classes/CLIENT.html#">CLIENT</a> object. The object must have been instantiated with <a href="../classes/CLIENT.html#CLIENT:New">CLIENT:New</a>.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
Add a number of Client objects to the Mission.
Mission:AddClient( CLIENT:New( <span class="string">'US UH-1H*HOT-Deploy Troops 1'</span>, <span class="string">'Transport 3 groups of air defense engineers from our barracks "Gold" and "Titan" to each patriot battery control center to activate our air defenses.'</span> ):Transport() )
Mission:AddClient( CLIENT:New( <span class="string">'US UH-1H*RAMP-Deploy Troops 3'</span>, <span class="string">'Transport 3 groups of air defense engineers from our barracks "Gold" and "Titan" to each patriot battery control center to activate our air defenses.'</span> ):Transport() )
Mission:AddClient( CLIENT:New( <span class="string">'US UH-1H*HOT-Deploy Troops 2'</span>, <span class="string">'Transport 3 groups of air defense engineers from our barracks "Gold" and "Titan" to each patriot battery control center to activate our air defenses.'</span> ):Transport() )
Mission:AddClient( CLIENT:New( <span class="string">'US UH-1H*RAMP-Deploy Troops 4'</span>, <span class="string">'Transport 3 groups of air defense engineers from our barracks "Gold" and "Titan" to each patriot battery control center to activate our air defenses.'</span> ):Transport() )</pre>
</ul>
</dd>
<dt>
<a name = "MISSION:FindClient"></a>
<strong>MISSION:FindClient (ClientName)</strong>
</dt>
<dd>
Find a <a href="../classes/CLIENT.html#">CLIENT</a> object within the <a href="../classes/MISSION.html#">MISSION</a> by its ClientName.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">ClientName</span>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
is a string defining the Client Group as defined within the ME.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Seach for Client "Bomber" within the Mission.
</span> <span class="keyword">local</span> BomberClient = Mission:FindClient( <span class="string">"Bomber"</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MISSION:AddTask"></a>
<strong>MISSION:AddTask (Task, TaskNumber)</strong>
</dt>
<dd>
Register a <a href="../classes/TASK.html#">TASK</a> to be completed within the <a href="../classes/MISSION.html#">MISSION</a>. Note that there can be multiple <a href="../classes/TASK.html#">TASK</a>s registered to be completed. Each TASK can be set a certain Goal. The MISSION will not be completed until all Goals are reached.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Task</span>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
is the <a href="../classes/TASK.html#">TASK</a> object. The object must have been instantiated with <a href="../classes/TASK.html#TASK:New">TASK:New</a> or any of its inherited <a href="../classes/TASK.html#">TASK</a>s.
</li>
<li><span class="parameter">TaskNumber</span>
<span class="types"><span class="type">number</span></span>
is the sequence number of the TASK within the MISSION. This number does have to be chronological.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Define a few tasks for the Mission.
</span> PickupZones = { <span class="string">"NATO Gold Pickup Zone"</span>, <span class="string">"NATO Titan Pickup Zone"</span> }
PickupSignalUnits = { <span class="string">"NATO Gold Coordination Center"</span>, <span class="string">"NATO Titan Coordination Center"</span> }
<span class="comment">-- Assign the Pickup Task
</span> <span class="keyword">local</span> PickupTask = PICKUPTASK:New( PickupZones, CARGO_TYPE.ENGINEERS, CLIENT.ONBOARDSIDE.LEFT )
PickupTask:AddSmokeBlue( PickupSignalUnits )
PickupTask:SetGoalTotal( <span class="number">3</span> )
Mission:AddTask( PickupTask, <span class="number">1</span> )
<span class="comment">-- Assign the Deploy Task
</span> <span class="keyword">local</span> PatriotActivationZones = { <span class="string">"US Patriot Battery 1 Activation"</span>, <span class="string">"US Patriot Battery 2 Activation"</span>, <span class="string">"US Patriot Battery 3 Activation"</span> }
<span class="keyword">local</span> PatriotActivationZonesSmokeUnits = { <span class="string">"US SAM Patriot - Battery 1 Control"</span>, <span class="string">"US SAM Patriot - Battery 2 Control"</span>, <span class="string">"US SAM Patriot - Battery 3 Control"</span> }
<span class="keyword">local</span> DeployTask = DEPLOYTASK:New( PatriotActivationZones, CARGO_TYPE.ENGINEERS )
<span class="comment">--DeployTask:SetCargoTargetZoneName( 'US Troops Attack ' .. math.random(2) )
</span> DeployTask:AddSmokeBlue( PatriotActivationZonesSmokeUnits )
DeployTask:SetGoalTotal( <span class="number">3</span> )
DeployTask:SetGoalTotal( <span class="number">3</span>, <span class="string">"Patriots activated"</span> )
Mission:AddTask( DeployTask, <span class="number">2</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MISSION:GetTask"></a>
<strong>MISSION:GetTask (TaskNumber)</strong>
</dt>
<dd>
Get the TASK idenified by the TaskNumber from the Mission. This function is useful in GoalFunctions.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">TaskNumber</span>
<span class="types"><span class="type">number</span></span>
is the number of the <a href="../classes/TASK.html#">TASK</a> within the <a href="../classes/MISSION.html#">MISSION</a>.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Get Task 2 from the Mission.
</span> Task2 = Mission:GetTask( <span class="number">2</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MISSION:GetTasks"></a>
<strong>MISSION:GetTasks ()</strong>
</dt>
<dd>
Get all the TASKs from the Mission. This function is useful in GoalFunctions.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">{TASK,...}</a></span>
Structure of TASKS with the <a href="../classes/TASK.html#">TASK</a> number as the key.
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Get Tasks from the Mission.
</span> Tasks = Mission:GetTasks()
env.info( <span class="string">"Task 2 Completion = "</span> .. Tasks[<span class="number">2</span>]:GetGoalPercentage() .. <span class="string">"%"</span> )</pre>
</ul>
</dd>
</dl>
<h2><a name="Class_MISSIONSCHEDULER"></a>Class MISSIONSCHEDULER </h2>
The MISSIONSCHEDULER is an OBJECT and is the main scheduler of ALL active MISSIONs registered within this scheduler. It's workings are considered internal and is automatically created when the Mission.lua file is included.
<dl class="function">
<dt>
<a name = "MISSIONSCHEDULER.Scheduler"></a>
<strong>MISSIONSCHEDULER.Scheduler ()</strong>
</dt>
<dd>
This is the main MISSIONSCHEDULER Scheduler function. It is considered internal and is automatically created when the Mission.lua file is included.
</dd>
<dt>
<a name = "MISSIONSCHEDULER.Start"></a>
<strong>MISSIONSCHEDULER.Start ()</strong>
</dt>
<dd>
Start the MISSIONSCHEDULER.
</dd>
<dt>
<a name = "MISSIONSCHEDULER.Stop"></a>
<strong>MISSIONSCHEDULER.Stop ()</strong>
</dt>
<dd>
Stop the MISSIONSCHEDULER.
</dd>
<dt>
<a name = "MISSIONSCHEDULER.AddMission"></a>
<strong>MISSIONSCHEDULER.AddMission (Mission)</strong>
</dt>
<dd>
This is the main MISSION declaration method. Each Mission is like the master or a Mission orchestration between, Clients, Tasks, Stages etc.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Mission</span>
is the MISSION object instantiated by <a href="../classes/MISSION.html#MISSION:New">MISSION:New</a>.
</li>
</ul>
<h3>Returns:</h3>
<ol>
MISSION
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Declare a mission.
</span> Mission = MISSION:New( <span class="string">'Russia Transport Troops SA-6'</span>,
<span class="string">'Operational'</span>,
<span class="string">'Transport troops from the control center to one of the SA-6 SAM sites to activate their operation.'</span>,
<span class="string">'Russia'</span> )
MISSIONSCHEDULER:AddMission( Mission )</pre>
</ul>
</dd>
<dt>
<a name = "MISSIONSCHEDULER.RemoveMission"></a>
<strong>MISSIONSCHEDULER.RemoveMission (MissionName)</strong>
</dt>
<dd>
Remove a MISSION from the MISSIONSCHEDULER.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">MissionName</span>
is the name of the MISSION given at declaration using <a href="../classes/MISSION.html#MISSIONSCHEDULER.AddMission">AddMission</a>.
</li>
</ul>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Declare a mission.
</span> Mission = MISSION:New( <span class="string">'Russia Transport Troops SA-6'</span>,
<span class="string">'Operational'</span>,
<span class="string">'Transport troops from the control center to one of the SA-6 SAM sites to activate their operation.'</span>,
<span class="string">'Russia'</span> )
MISSIONSCHEDULER:AddMission( Mission )
<span class="comment">-- Now remove the Mission.
</span> MISSIONSCHEDULER:RemoveMission( <span class="string">'Russia Transport Troops SA-6'</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MISSIONSCHEDULER.FindMission"></a>
<strong>MISSIONSCHEDULER.FindMission (MissionName)</strong>
</dt>
<dd>
Find a MISSION within the MISSIONSCHEDULER.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">MissionName</span>
is the name of the MISSION given at declaration using <a href="../classes/MISSION.html#MISSIONSCHEDULER.AddMission">AddMission</a>.
</li>
</ul>
<h3>Returns:</h3>
<ol>
MISSION
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Declare a mission.
</span> Mission = MISSION:New( <span class="string">'Russia Transport Troops SA-6'</span>,
<span class="string">'Operational'</span>,
<span class="string">'Transport troops from the control center to one of the SA-6 SAM sites to activate their operation.'</span>,
<span class="string">'Russia'</span> )
MISSIONSCHEDULER:AddMission( Mission )
<span class="comment">-- Now find the Mission.
</span> MissionFind = MISSIONSCHEDULER:FindMission( <span class="string">'Russia Transport Troops SA-6'</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MISSIONSCHEDULER.ReportMenu"></a>
<strong>MISSIONSCHEDULER.ReportMenu ()</strong>
</dt>
<dd>
Enables a MENU option in the communications menu under F10 to control the status of the active missions.
This function should be called only once when starting the MISSIONSCHEDULER.
</dd>
<dt>
<a name = "MISSIONSCHEDULER:TimeShow"></a>
<strong>MISSIONSCHEDULER:TimeShow ()</strong>
</dt>
<dd>
Show the remaining mission time.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,255 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><strong>MOVEMENT</strong></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>MOVEMENT</code></h1>
<p>Limit the simultaneous movement of Groups within a running Mission.</p>
<p>
This module is defined to improve the performance in missions, and to bring additional realism for GROUND vehicles.
Performance: If in a DCSRTE there are a lot of moving GROUND units, then in a multi player mission, this WILL create lag if
the main DCS execution core of your CPU is fully utilized. So, this class will limit the amount of simultaneous moving GROUND units
on defined intervals (currently every minute).</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#MOVEMENT:New">MOVEMENT:New (MovePrefixes, MoveMaximum)</a></td>
<td class="summary">Creates the main object which is handling the GROUND forces movement.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MOVEMENT:ScheduleStart">MOVEMENT:ScheduleStart ()</a></td>
<td class="summary">Call this function to start the MOVEMENT scheduling.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MOVEMENT:ScheduleStop">MOVEMENT:ScheduleStop ()</a></td>
<td class="summary">Call this function to stop the MOVEMENT scheduling.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MOVEMENT:OnBirth">MOVEMENT:OnBirth (event)</a></td>
<td class="summary">Captures the birth events when new Units were spawned.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MOVEMENT:OnDeadOrCrash">MOVEMENT:OnDeadOrCrash (event)</a></td>
<td class="summary">Captures the Dead or Crash events when Units crash or are destroyed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#MOVEMENT:_Scheduler">MOVEMENT:_Scheduler ()</a></td>
<td class="summary">This function is called automatically by the MOVEMENT scheduler.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "MOVEMENT:New"></a>
<strong>MOVEMENT:New (MovePrefixes, MoveMaximum)</strong>
</dt>
<dd>
Creates the main object which is handling the GROUND forces movement.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">MovePrefixes</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a table of the Prefixes (names) of the GROUND Groups that need to be controlled by the MOVEMENT Object.
</li>
<li><span class="parameter">MoveMaximum</span>
<span class="types"><span class="type">number</span></span>
is a number that defines the maximum amount of GROUND Units to be moving during one minute.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/MOVEMENT.html#">MOVEMENT</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Limit the amount of simultaneous moving units on the ground to prevent lag.
</span> Movement_US_Platoons = MOVEMENT:New( { <span class="string">'US Tank Platoon Left'</span>, <span class="string">'US Tank Platoon Middle'</span>, <span class="string">'US Tank Platoon Right'</span>, <span class="string">'US CH-47D Troops'</span> }, <span class="number">15</span> )</pre>
</ul>
</dd>
<dt>
<a name = "MOVEMENT:ScheduleStart"></a>
<strong>MOVEMENT:ScheduleStart ()</strong>
</dt>
<dd>
Call this function to start the MOVEMENT scheduling.
</dd>
<dt>
<a name = "MOVEMENT:ScheduleStop"></a>
<strong>MOVEMENT:ScheduleStop ()</strong>
</dt>
<dd>
Call this function to stop the MOVEMENT scheduling.
</dd>
<dt>
<a name = "MOVEMENT:OnBirth"></a>
<strong>MOVEMENT:OnBirth (event)</strong>
</dt>
<dd>
Captures the birth events when new Units were spawned.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
</dd>
<dt>
<a name = "MOVEMENT:OnDeadOrCrash"></a>
<strong>MOVEMENT:OnDeadOrCrash (event)</strong>
</dt>
<dd>
Captures the Dead or Crash events when Units crash or are destroyed.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
</dd>
<dt>
<a name = "MOVEMENT:_Scheduler"></a>
<strong>MOVEMENT:_Scheduler ()</strong>
</dt>
<dd>
This function is called automatically by the MOVEMENT scheduler. A new function is scheduled when MoveScheduled is true.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,158 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Tables">Tables</a></li>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><strong>NOTASK</strong></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>NOTASK</code></h1>
<p>A NOTASK is a dummy activity...</p>
<p> But it will show a Mission Briefing...</p>
<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#NOTASK.NOTASK">NOTASK.NOTASK</a></td>
<td class="summary">Modeling a sequence of STAGEs to do nothing, but wait for the mission goal.</td>
</tr>
</table>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#NOTASK:New">NOTASK:New ()</a></td>
<td class="summary">Creates a new NOTASK.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Tables"></a>Tables</h2>
<dl class="function">
<dt>
<a name = "NOTASK.NOTASK"></a>
<strong>NOTASK.NOTASK</strong>
</dt>
<dd>
Modeling a sequence of STAGEs to do nothing, but wait for the mission goal.
<h3>Fields:</h3>
<ul>
<li><span class="parameter">ClassName</span>
</li>
</ul>
</dd>
</dl>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "NOTASK:New"></a>
<strong>NOTASK:New ()</strong>
</dt>
<dd>
Creates a new NOTASK.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,141 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><strong>PICKUPTASK</strong></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>PICKUPTASK</code></h1>
<p>A PICKUPTASK orchestrates the loading of CARGO at a specific landing zone.</p>
<p></p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#PICKUPTASK:New">PICKUPTASK:New (LandingZones, CargoType, OnBoardSide)</a></td>
<td class="summary">Creates a new PICKUPTASK.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "PICKUPTASK:New"></a>
<strong>PICKUPTASK:New (LandingZones, CargoType, OnBoardSide)</strong>
</dt>
<dd>
Creates a new PICKUPTASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">LandingZones</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Table of Zone names where Cargo is to be loaded.
</li>
<li><span class="parameter">CargoType</span>
<span class="types"><a class="type" href="../classes/CARGO.html#">CARGO_TYPE</a></span>
Type of the Cargo. The type must be of the following Enumeration:..
</li>
<li><span class="parameter">OnBoardSide</span>
<span class="types"><span class="type">number</span></span>
Reflects from which side the cargo Group will be on-boarded on the Carrier.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,178 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Tables">Tables</a></li>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><strong>ROUTETASK</strong></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>ROUTETASK</code></h1>
<p>A ROUTETASK orchestrates the travel to a specific zone defined within the ME.</p>
<p></p>
<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ROUTETASK.ROUTETASK">ROUTETASK.ROUTETASK</a></td>
<td class="summary">Modeling a sequence of STAGEs to fly back to the home base specified by an Arrival Zone.</td>
</tr>
</table>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#ROUTETASK:New">ROUTETASK:New (LandingZones, TaskBriefing)</a></td>
<td class="summary">Creates a new ROUTETASK.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Tables"></a>Tables</h2>
<dl class="function">
<dt>
<a name = "ROUTETASK.ROUTETASK"></a>
<strong>ROUTETASK.ROUTETASK</strong>
</dt>
<dd>
Modeling a sequence of STAGEs to fly back to the home base specified by an Arrival Zone.
<h3>Fields:</h3>
<ul>
<li><span class="parameter">ClassName</span>
</li>
<li><span class="parameter">GoalVerb</span>
</li>
</ul>
</dd>
</dl>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "ROUTETASK:New"></a>
<strong>ROUTETASK:New (LandingZones, TaskBriefing)</strong>
</dt>
<dd>
Creates a new ROUTETASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">LandingZones</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{sring,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Table of Zone Names where the target is located.
</li>
<li><span class="parameter">TaskBriefing</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
(optional) Defines a text describing the briefing of the task.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/ROUTETASK.html#">ROUTETASK</a></span>
</ol>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,180 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><strong>SEAD</strong></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>SEAD</code></h1>
<p>Provides defensive behaviour to a set of SAM sites within a running Mission.</p>
<p></p>
<h3>Info:</h3>
<ul>
<li><strong>Author</strong>: to be searched on the forum,(co) Flightcontrol (Modified and enriched with functionality)</li>
</ul>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#SEAD:New">SEAD:New (SEADGroupPrefixes)</a></td>
<td class="summary">Creates the main object which is handling defensive actions for SA sites or moving SA vehicles.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#SEAD:EventShot">SEAD:EventShot (event)</a></td>
<td class="summary">Detects if an SA site was shot with an anti radiation missile.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "SEAD:New"></a>
<strong>SEAD:New (SEADGroupPrefixes)</strong>
</dt>
<dd>
Creates the main object which is handling defensive actions for SA sites or moving SA vehicles.
When an anti radiation missile is fired (KH-58, KH-31P, KH-31A, KH-25MPU, HARM missiles), the SA will shut down their radars and will take evasive actions...
Chances are big that the missile will miss.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SEADGroupPrefixes</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
which is a table of Prefixes of the SA Groups in the DCSRTE on which evasive actions need to be taken.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/SEAD.html#">SEAD</a></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- CCCP SEAD Defenses
</span> <span class="comment">-- Defends the Russian SA installations from SEAD attacks.
</span> SEAD_RU_SAM_Defenses = SEAD:New( { <span class="string">'RU SA-6 Kub'</span>, <span class="string">'RU SA-6 Defenses'</span>, <span class="string">'RU MI-26 Troops'</span>, <span class="string">'RU Attack Gori'</span> } )</pre>
</ul>
</dd>
<dt>
<a name = "SEAD:EventShot"></a>
<strong>SEAD:EventShot (event)</strong>
</dt>
<dd>
Detects if an SA site was shot with an anti radiation missile. In this case, take evasive actions based on the skill level set within the ME.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
<h3>See also:</h3>
<ul>
<a href="../classes/SEAD.html#">SEAD</a>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,150 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>MOOSE</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>MOOSE</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><strong>SLINGLOADHOOKTASK</strong></li>
<li><a href="../classes/SLINGLOADUNHOOKTASK.html">SLINGLOADUNHOOKTASK</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
<h2>Topics</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../topics/manual.md.html">manual</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>SLINGLOADHOOKTASK</code></h1>
<p>A SLINGLOADHOOKTASK will orchestrate the sling-load hook activity to slingload a CARGO from a specific landing zone(s).</p>
<p>
</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#SLINGLOADHOOKTASK:New">SLINGLOADHOOKTASK:New (LandingZones, CargoPrefixes)</a></td>
<td class="summary">Creates a new SLINGLOADHOOKTASK.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "SLINGLOADHOOKTASK:New"></a>
<strong>SLINGLOADHOOKTASK:New (LandingZones, CargoPrefixes)</strong>
</dt>
<dd>
Creates a new SLINGLOADHOOKTASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">LandingZones</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Table or name of the zone(s) where Cargo is to be loaded.
</li>
<li><span class="parameter">CargoPrefixes</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...)</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name or prefix of the name of the Cargo objects defined within the DCS ME.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/SLINGLOADHOOKTASK.html#">SLINGLOADHOOKTASK</a></span>
</ol>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-01-29 21:06:10 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,142 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>MOOSE</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>MOOSE</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SLINGLOADHOOKTASK.html">SLINGLOADHOOKTASK</a></li>
<li><strong>SLINGLOADUNHOOKTASK</strong></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
<h2>Topics</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../topics/manual.md.html">manual</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>SLINGLOADUNHOOKTASK</code></h1>
<p>A SLINGLOADUNHOOKTASK will orchestrate the sling-load unhook activity to (sling)load a CARGO and deploy it in a specific landing zone(s).</p>
<p>
</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#SLINGLOADUNHOOKTASK:New">SLINGLOADUNHOOKTASK:New (LandingZones, CargoPrefixes)</a></td>
<td class="summary">Creates a new SLINGLOADUNHOOKTASK.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "SLINGLOADUNHOOKTASK:New"></a>
<strong>SLINGLOADUNHOOKTASK:New (LandingZones, CargoPrefixes)</strong>
</dt>
<dd>
Creates a new SLINGLOADUNHOOKTASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">LandingZones</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Table or name of the zone(s) where Cargo is to be loaded.
</li>
<li><span class="parameter">CargoPrefixes</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name or prefix of the name of the Cargo objects defined within the DCS ME.
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-01-29 21:06:10 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,101 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><strong>STAGE</strong></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>STAGE</code></h1>
<p>Stages within a <a href="../classes/TASK.html#">TASK</a> within a <a href="../classes/MISSION.html#">MISSION</a>.</p>
<p> All of the STAGE functionality is considered internally administered and not to be used by any Mission designer.</p>
<h3>Info:</h3>
<ul>
<li><strong>Author</strong>: Flightcontrol</li>
</ul>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,919 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><strong>TASK</strong></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>TASK</code></h1>
<p>The TASK Classes define major end-to-end activities within a MISSION.</p>
<p> The TASK Class is the Master Class to orchestrate these activities. From this class, many concrete TASK classes are inherited.</p>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#TASK:New">TASK:New ()</a></td>
<td class="summary">Instantiates a new TASK Base.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:GetGoalProgress">TASK:GetGoalProgress ()</a></td>
<td class="summary">Get progress of a TASK.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:ShowGoalProgress">TASK:ShowGoalProgress (Mission, Client)</a></td>
<td class="summary">Show progress of a TASK.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:Done">TASK:Done ()</a></td>
<td class="summary">Sets a TASK to status Done.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:IsDone">TASK:IsDone ()</a></td>
<td class="summary">Returns if a TASK is done.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:Failed">TASK:Failed ()</a></td>
<td class="summary">Sets a TASK to status failed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:IsFailed">TASK:IsFailed ()</a></td>
<td class="summary">Returns if a TASk has failed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:GetGoals">TASK:GetGoals ()</a></td>
<td class="summary">Returns the Goals of a TASK</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:Goal">TASK:Goal (GoalVerb)</a></td>
<td class="summary">Returns if a TASK has Goal(s).</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:SetGoalTotal">TASK:SetGoalTotal (GoalTotal, GoalVerb)</a></td>
<td class="summary">Sets the total Goals to be achieved of the Goal Name</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:GetGoalTotal">TASK:GetGoalTotal (GoalVerb)</a></td>
<td class="summary">Gets the total of Goals to be achieved within the TASK of the GoalVerb.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:SetGoalCount">TASK:SetGoalCount (GoalCount, GoalVerb)</a></td>
<td class="summary">Sets the total of Goals currently achieved within the TASK of the GoalVerb.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:IncreaseGoalCount">TASK:IncreaseGoalCount (GoalCountIncrease, GoalVerb)</a></td>
<td class="summary">Increments the total of Goals currently achieved within the TASK of the GoalVerb, with the given GoalCountIncrease.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:GetGoalCount">TASK:GetGoalCount (GoalVerb)</a></td>
<td class="summary">Gets the total of Goals currently achieved within the TASK of the GoalVerb.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:GetGoalPercentage">TASK:GetGoalPercentage (GoalVerb)</a></td>
<td class="summary">Gets the percentage of Goals currently achieved within the TASK of the GoalVerb.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:IsGoalReached">TASK:IsGoalReached ()</a></td>
<td class="summary">Returns if all the Goals of the TASK were achieved.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddGoalCompletion">TASK:AddGoalCompletion (GoalVerb, GoalTask, GoalIncrease)</a></td>
<td class="summary">Adds an Additional Goal for the TASK to be achieved.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:GetGoalCompletion">TASK:GetGoalCompletion (GoalVerb)</a></td>
<td class="summary">Returns if the additional Goal for the TASK was completed.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddSignal">TASK:AddSignal (SignalUnitNames, SignalType, SignalColor, SignalHeight)</a></td>
<td class="summary">Work function to set signal events within a TASK.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddSmokeRed">TASK:AddSmokeRed (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a RED SMOKE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddSmokeGreen">TASK:AddSmokeGreen (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a GREEN SMOKE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddSmokeBlue">TASK:AddSmokeBlue (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a BLUE SMOKE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddSmokeWhite">TASK:AddSmokeWhite (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a WHITE SMOKE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddSmokeOrange">TASK:AddSmokeOrange (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, an ORANGE SMOKE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddFlareRed">TASK:AddFlareRed (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a RED FLARE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddFlareGreen">TASK:AddFlareGreen (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a GREEN FLARE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddFlareBlue">TASK:AddFlareBlue (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a BLUE FLARE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddFlareWhite">TASK:AddFlareWhite (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, a WHITE FLARE will be fired by an optional SignalUnitNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#TASK:AddFlareOrange">TASK:AddFlareOrange (SignalUnitNames, SignalHeight)</a></td>
<td class="summary">When the CLIENT is approaching the landing zone, an ORANGE FLARE will be fired by an optional SignalUnitNames.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "TASK:New"></a>
<strong>TASK:New ()</strong>
</dt>
<dd>
Instantiates a new TASK Base. Should never be used. Interface Class.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
</ol>
</dd>
<dt>
<a name = "TASK:GetGoalProgress"></a>
<strong>TASK:GetGoalProgress ()</strong>
</dt>
<dd>
Get progress of a TASK.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
GoalsText
</ol>
</dd>
<dt>
<a name = "TASK:ShowGoalProgress"></a>
<strong>TASK:ShowGoalProgress (Mission, Client)</strong>
</dt>
<dd>
Show progress of a TASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">Mission</span>
<span class="types"><a class="type" href="../classes/MISSION.html#">MISSION</a></span>
Group structure describing the Mission.
</li>
<li><span class="parameter">Client</span>
<span class="types"><a class="type" href="../classes/CLIENT.html#">CLIENT</a></span>
Group structure describing the Client.
</li>
</ul>
</dd>
<dt>
<a name = "TASK:Done"></a>
<strong>TASK:Done ()</strong>
</dt>
<dd>
Sets a TASK to status Done.
</dd>
<dt>
<a name = "TASK:IsDone"></a>
<strong>TASK:IsDone ()</strong>
</dt>
<dd>
Returns if a TASK is done.
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
</ol>
</dd>
<dt>
<a name = "TASK:Failed"></a>
<strong>TASK:Failed ()</strong>
</dt>
<dd>
Sets a TASK to status failed.
</dd>
<dt>
<a name = "TASK:IsFailed"></a>
<strong>TASK:IsFailed ()</strong>
</dt>
<dd>
Returns if a TASk has failed.
<h3>Returns:</h3>
<ol>
bool
</ol>
</dd>
<dt>
<a name = "TASK:GetGoals"></a>
<strong>TASK:GetGoals ()</strong>
</dt>
<dd>
Returns the Goals of a TASK
<h3>Returns:</h3>
<ol>
Goals
</ol>
</dd>
<dt>
<a name = "TASK:Goal"></a>
<strong>TASK:Goal (GoalVerb)</strong>
</dt>
<dd>
Returns if a TASK has Goal(s).
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
</ol>
</dd>
<dt>
<a name = "TASK:SetGoalTotal"></a>
<strong>TASK:SetGoalTotal (GoalTotal, GoalVerb)</strong>
</dt>
<dd>
Sets the total Goals to be achieved of the Goal Name
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalTotal</span>
<span class="types"><span class="type">number</span></span>
is the number of times the GoalVerb needs to be achieved.
</li>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK. If the GoalVerb is not given, then the default TASK Goals will be used.
</li>
</ul>
</dd>
<dt>
<a name = "TASK:GetGoalTotal"></a>
<strong>TASK:GetGoalTotal (GoalVerb)</strong>
</dt>
<dd>
Gets the total of Goals to be achieved within the TASK of the GoalVerb.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK. If the GoalVerb is not given, then the default TASK Goals will be used.
</li>
</ul>
</dd>
<dt>
<a name = "TASK:SetGoalCount"></a>
<strong>TASK:SetGoalCount (GoalCount, GoalVerb)</strong>
</dt>
<dd>
Sets the total of Goals currently achieved within the TASK of the GoalVerb.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalCount</span>
<span class="types"><span class="type">number</span></span>
is the total number of Goals achieved within the TASK.
</li>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK. If the GoalVerb is not given, then the default TASK Goals will be used.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
</ol>
</dd>
<dt>
<a name = "TASK:IncreaseGoalCount"></a>
<strong>TASK:IncreaseGoalCount (GoalCountIncrease, GoalVerb)</strong>
</dt>
<dd>
Increments the total of Goals currently achieved within the TASK of the GoalVerb, with the given GoalCountIncrease.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalCountIncrease</span>
<span class="types"><span class="type">number</span></span>
is the number of new Goals achieved within the TASK.
</li>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK. If the GoalVerb is not given, then the default TASK Goals will be used.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
</ol>
</dd>
<dt>
<a name = "TASK:GetGoalCount"></a>
<strong>TASK:GetGoalCount (GoalVerb)</strong>
</dt>
<dd>
Gets the total of Goals currently achieved within the TASK of the GoalVerb.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK. If the GoalVerb is not given, then the default TASK Goals will be used.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
</ol>
</dd>
<dt>
<a name = "TASK:GetGoalPercentage"></a>
<strong>TASK:GetGoalPercentage (GoalVerb)</strong>
</dt>
<dd>
Gets the percentage of Goals currently achieved within the TASK of the GoalVerb.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK. If the GoalVerb is not given, then the default TASK Goals will be used.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/TASK.html#">TASK</a></span>
</ol>
</dd>
<dt>
<a name = "TASK:IsGoalReached"></a>
<strong>TASK:IsGoalReached ()</strong>
</dt>
<dd>
Returns if all the Goals of the TASK were achieved.
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
</ol>
</dd>
<dt>
<a name = "TASK:AddGoalCompletion"></a>
<strong>TASK:AddGoalCompletion (GoalVerb, GoalTask, GoalIncrease)</strong>
</dt>
<dd>
Adds an Additional Goal for the TASK to be achieved.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalVerb</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK.
</li>
<li><span class="parameter">GoalTask</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is a text describing the Goal of the TASK to be achieved.
</li>
<li><span class="parameter">GoalIncrease</span>
<span class="types"><span class="type">number</span></span>
is a number by which the Goal achievement is increasing.
</li>
</ul>
</dd>
<dt>
<a name = "TASK:GetGoalCompletion"></a>
<strong>TASK:GetGoalCompletion (GoalVerb)</strong>
</dt>
<dd>
Returns if the additional Goal for the TASK was completed.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">GoalVerb</span>
<span class="types">optional <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
is the name of the Goal of the TASK. If the GoalVerb is not given, then the default TASK Goals will be used.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Goals
</ol>
</dd>
<dt>
<a name = "TASK:AddSignal"></a>
<strong>TASK:AddSignal (SignalUnitNames, SignalType, SignalColor, SignalHeight)</strong>
</dt>
<dd>
Work function to set signal events within a TASK.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
</li>
<li><span class="parameter">SignalType</span>
</li>
<li><span class="parameter">SignalColor</span>
</li>
<li><span class="parameter">SignalHeight</span>
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddSmokeRed"></a>
<strong>TASK:AddSmokeRed (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a RED SMOKE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddSmokeGreen"></a>
<strong>TASK:AddSmokeGreen (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a GREEN SMOKE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddSmokeBlue"></a>
<strong>TASK:AddSmokeBlue (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a BLUE SMOKE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddSmokeWhite"></a>
<strong>TASK:AddSmokeWhite (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a WHITE SMOKE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddSmokeOrange"></a>
<strong>TASK:AddSmokeOrange (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, an ORANGE SMOKE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddFlareRed"></a>
<strong>TASK:AddFlareRed (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a RED FLARE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddFlareGreen"></a>
<strong>TASK:AddFlareGreen (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a GREEN FLARE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddFlareBlue"></a>
<strong>TASK:AddFlareBlue (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a BLUE FLARE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddFlareWhite"></a>
<strong>TASK:AddFlareWhite (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, a WHITE FLARE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
<dt>
<a name = "TASK:AddFlareOrange"></a>
<strong>TASK:AddFlareOrange (SignalUnitNames, SignalHeight)</strong>
</dt>
<dd>
When the CLIENT is approaching the landing zone, an ORANGE FLARE will be fired by an optional SignalUnitNames.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">SignalUnitNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
Name of the Group that will fire the signal. If this parameter is NIL, the signal will be fired from the center of the landing zone.
</li>
<li><span class="parameter">SignalHeight</span>
<span class="types"><span class="type">number</span></span>
Altitude that the Signal should be fired...
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,97 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><strong>UNIT</strong></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>UNIT</code></h1>
<p>UNIT Classes</p>
<p></p>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,97 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><strong>ZONE</strong></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>ZONE</code></h1>
<p>ZONE Classes</p>
<p></p>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,206 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="modules/routines.html">routines</a></li>
<li><a href="modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="classes/BASE.html">BASE</a></li>
<li><a href="classes/CARGO.html">CARGO</a></li>
<li><a href="classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="classes/CLIENT.html">CLIENT</a></li>
<li><a href="classes/DATABASE.html">DATABASE</a></li>
<li><a href="classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="classes/GROUP.html">GROUP</a></li>
<li><a href="classes/MENU.html">MENU</a></li>
<li><a href="classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="classes/MISSION.html">MISSION</a></li>
<li><a href="classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="classes/NOTASK.html">NOTASK</a></li>
<li><a href="classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="classes/SEAD.html">SEAD</a></li>
<li><a href="classes/SPAWN.html">SPAWN</a></li>
<li><a href="classes/STAGE.html">STAGE</a></li>
<li><a href="classes/TASK.html">TASK</a></li>
<li><a href="classes/UNIT.html">UNIT</a></li>
<li><a href="classes/ZONE.html">ZONE</a></li>
</ul>
</div>
<div id="content">
<h2>Modules</h2>
<table class="module_list">
<tr>
<td class="name" nowrap><a href="modules/routines.html">routines</a></td>
<td class="summary">Various routines</td>
</tr>
<tr>
<td class="name" nowrap><a href="modules/trace.html">trace</a></td>
<td class="summary">Tracing functions...</td>
</tr>
</table>
<h2>Scripts</h2>
<table class="module_list">
<tr>
<td class="name" nowrap><a href="scripts/eStatHandler.html">eStatHandler</a></td>
<td class="summary">Provides a logging of statistics in a running DCS Mission.</td>
</tr>
</table>
<h2>Classes</h2>
<table class="module_list">
<tr>
<td class="name" nowrap><a href="classes/BASE.html">BASE</a></td>
<td class="summary">BASE The base class for all the classes defined within MOOSE.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/CARGO.html">CARGO</a></td>
<td class="summary">CARGO Classes</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/CLEANUP.html">CLEANUP</a></td>
<td class="summary">CLEANUP Classes</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/CLIENT.html">CLIENT</a></td>
<td class="summary">CLIENT Classes</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/DATABASE.html">DATABASE</a></td>
<td class="summary">Administers the Initial Sets of the Mission Templates as defined within the Mission Editor.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/DEPLOYTASK.html">DEPLOYTASK</a></td>
<td class="summary">A DEPLOYTASK orchestrates the deployment of CARGO within a specific landing zone.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/DESTROYBASETASK.html">DESTROYBASETASK</a></td>
<td class="summary">A DESTROYBASETASK will monitor the destruction of Groups and Units.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></td>
<td class="summary">DESTROYGROUPSTASK</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></td>
<td class="summary">Task class to destroy radar installations.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></td>
<td class="summary">Set TASK to destroy certain unit types.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/GOHOMETASK.html">GOHOMETASK</a></td>
<td class="summary">A GOHOMETASK orchestrates the travel back to the home base, which is a specific zone defined within the ME.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/GROUP.html">GROUP</a></td>
<td class="summary">GROUP Classes</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/MENU.html">MENU</a></td>
<td class="summary">Encapsulation of DCS World Menu system in a set of MENU classes.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/MESSAGE.html">MESSAGE</a></td>
<td class="summary">Message System to display Messages for Clients and Coalitions or All.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/MISSION.html">MISSION</a></td>
<td class="summary">A MISSION is the main owner of a Mission orchestration within MOOSE .</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/MOVEMENT.html">MOVEMENT</a></td>
<td class="summary">Limit the simultaneous movement of Groups within a running Mission.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/NOTASK.html">NOTASK</a></td>
<td class="summary">A NOTASK is a dummy activity...</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/PICKUPTASK.html">PICKUPTASK</a></td>
<td class="summary">A PICKUPTASK orchestrates the loading of CARGO at a specific landing zone.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/ROUTETASK.html">ROUTETASK</a></td>
<td class="summary">A ROUTETASK orchestrates the travel to a specific zone defined within the ME.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/SEAD.html">SEAD</a></td>
<td class="summary">Provides defensive behaviour to a set of SAM sites within a running Mission.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/SPAWN.html">SPAWN</a></td>
<td class="summary">Dynamic spawning of Groups and Units.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/STAGE.html">STAGE</a></td>
<td class="summary">Stages within a <a href="classes/TASK.html#">TASK</a> within a <a href="classes/MISSION.html#">MISSION</a>.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/TASK.html">TASK</a></td>
<td class="summary">The TASK Classes define major end-to-end activities within a MISSION.</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/UNIT.html">UNIT</a></td>
<td class="summary">UNIT Classes</td>
</tr>
<tr>
<td class="name" nowrap><a href="classes/ZONE.html">ZONE</a></td>
<td class="summary">ZONE Classes</td>
</tr>
</table>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,307 +0,0 @@
/* BEGIN RESET
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
html {
color: #000;
background: #FFF;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,img {
border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var,optgroup {
font-style: inherit;
font-weight: inherit;
}
del,ins {
text-decoration: none;
}
li {
list-style: disc;
margin-left: 20px;
}
caption,th {
text-align: left;
}
h1,h2,h3,h4,h5,h6 {
font-size: 100%;
font-weight: bold;
}
q:before,q:after {
content: '';
}
abbr,acronym {
border: 0;
font-variant: normal;
}
sup {
vertical-align: baseline;
}
sub {
vertical-align: baseline;
}
legend {
color: #000;
}
input,button,textarea,select,optgroup,option {
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
}
input,button,textarea,select {*font-size:100%;
}
/* END RESET */
body {
margin-left: 1em;
margin-right: 1em;
font-family: arial, helvetica, geneva, sans-serif;
background-color: #ffffff; margin: 0px;
}
code, tt { font-family: monospace; font-size: 1.1em; }
span.parameter { font-family:monospace; }
span.parameter:after { content:":"; }
span.types:before { content:"("; }
span.types:after { content:")"; }
.type { font-weight: bold; font-style:italic }
body, p, td, th { font-size: .95em; line-height: 1.2em;}
p, ul { margin: 10px 0 0 0px;}
strong { font-weight: bold;}
em { font-style: italic;}
h1 {
font-size: 1.5em;
margin: 0 0 20px 0;
}
h2, h3, h4 { margin: 15px 0 10px 0; }
h2 { font-size: 1.25em; }
h3 { font-size: 1.15em; }
h4 { font-size: 1.06em; }
a:link { font-weight: bold; color: #004080; text-decoration: none; }
a:visited { font-weight: bold; color: #006699; text-decoration: none; }
a:link:hover { text-decoration: underline; }
hr {
color:#cccccc;
background: #00007f;
height: 1px;
}
blockquote { margin-left: 3em; }
ul { list-style-type: disc; }
p.name {
font-family: "Andale Mono", monospace;
padding-top: 1em;
}
pre.example {
background-color: rgb(245, 245, 245);
border: 1px solid silver;
padding: 10px;
margin: 10px 0 10px 0;
font-family: "Andale Mono", monospace;
font-size: .85em;
}
pre {
background-color: rgb(245, 245, 245);
border: 1px solid silver;
padding: 10px;
margin: 10px 0 10px 0;
overflow: auto;
font-family: "Andale Mono", monospace;
}
table.index { border: 1px #00007f; }
table.index td { text-align: left; vertical-align: top; }
#container {
margin-left: 1em;
margin-right: 1em;
background-color: #f0f0f0;
}
#product {
text-align: center;
border-bottom: 1px solid #cccccc;
background-color: #ffffff;
}
#product big {
font-size: 2em;
}
#main {
background-color: #f0f0f0;
border-left: 2px solid #cccccc;
}
#navigation {
float: left;
width: 30em;
vertical-align: top;
background-color: #f0f0f0;
overflow: visible;
}
#navigation h2 {
background-color:#e7e7e7;
font-size:1.1em;
color:#000000;
text-align: left;
padding:0.2em;
border-top:1px solid #dddddd;
border-bottom:1px solid #dddddd;
}
#navigation ul
{
font-size:1em;
list-style-type: none;
margin: 1px 1px 10px 1px;
}
#navigation li {
text-indent: -1em;
display: block;
margin: 3px 0px 0px 22px;
}
#navigation li li a {
margin: 0px 3px 0px -1em;
}
#content {
margin-left: 30em;
padding: 1em;
//width: 700px;
border-left: 2px solid #cccccc;
border-right: 2px solid #cccccc;
background-color: #ffffff;
}
#about {
clear: both;
padding: 5px;
border-top: 2px solid #cccccc;
background-color: #ffffff;
}
@media print {
body {
font: 12pt "Times New Roman", "TimeNR", Times, serif;
}
a { font-weight: bold; color: #004080; text-decoration: underline; }
#main {
background-color: #ffffff;
border-left: 0px;
}
#container {
margin-left: 2%;
margin-right: 2%;
background-color: #ffffff;
}
#content {
padding: 1em;
background-color: #ffffff;
}
#navigation {
display: none;
}
pre.example {
font-family: "Andale Mono", monospace;
font-size: 10pt;
page-break-inside: avoid;
}
}
table.module_list {
border-width: 1px;
border-style: solid;
border-color: #cccccc;
border-collapse: collapse;
}
table.module_list td {
border-width: 1px;
padding: 3px;
border-style: solid;
border-color: #cccccc;
}
table.module_list td.name { background-color: #f0f0f0; min-width: 400px; }
table.module_list td.summary { width: 100%; }
table.function_list {
border-width: 1px;
border-style: solid;
border-color: #cccccc;
border-collapse: collapse;
}
table.function_list td {
border-width: 1px;
padding: 3px;
border-style: solid;
border-color: #cccccc;
}
table.function_list td.name { background-color: #f0f0f0; min-width: 400px; }
table.function_list td.summary { width: 100%; }
ul.nowrap {
overflow:auto;
white-space:nowrap;
}
dl.table dt, dl.function dt {border-top: 1px solid #ccc; padding-top: 1em;}
dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;}
dl.table h3, dl.function h3 {font-size: .95em;}
/* stop sublists from having initial vertical space */
ul ul { margin-top: 0px; }
ol ul { margin-top: 0px; }
ol ol { margin-top: 0px; }
ul ol { margin-top: 0px; }
/* make the target distinct; helps when we're navigating to a function */
a:target + * {
background-color: #FF9;
}
/* styles for prettification of source */
pre .comment { color: #558817; }
pre .constant { color: #a8660d; }
pre .escape { color: #844631; }
pre .keyword { color: #aa5050; font-weight: bold; }
pre .library { color: #0e7c6b; }
pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; }
pre .string { color: #8080ff; }
pre .number { color: #f8660d; }
pre .operator { color: #2239a8; font-weight: bold; }
pre .preprocessor, pre .prepro { color: #a33243; }
pre .global { color: #800080; }
pre .prompt { color: #558817; }
pre .url { color: #272fc2; text-decoration: underline; }

View File

@ -1,307 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>MOOSE</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>MOOSE</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Functions">Functions</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><strong>cleanup</strong></li>
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
<li><a href="../modules/routines.html">routines</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SLINGLOADHOOKTASK.html">SLINGLOADHOOKTASK</a></li>
<li><a href="../classes/SLINGLOADUNHOOKTASK.html">SLINGLOADUNHOOKTASK</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
</ul>
<h2>Topics</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../topics/manual.md.html">manual</a></li>
</ul>
</div>
<div id="content">
<h1>Module <code>cleanup</code></h1>
<p>CLEANUP will keep (a) CleanUp Zone(s) clean.</p>
<p> This class can be used to KEEP airbases or farps clean (note the word keep here, it cannot destroy units that are already dead).
The CleanUp class works with 2 validation logic compontents:
* EVENT validation: An event detection to intercept HIT events, upon which a validation of units CLEANUP CONDITIONS are applied. Once a unit is HIT, it is registered in a TIMED validation logic.
* TIMED validation: Units registered in a TIMED validation, are repeatedly validated of certain CLEANUP CONDITIONS.
If the CLEANUP CONDITIONS apply, the unit will be destroyed, and the group will be destroyed.
* It does not clean the zone, it tries to keep it clean by destroying units or groups before they explode or crash into the ground.
* For airplanes or helicopters, when in the CleanUpZone:
** When the unit is airborne, and it is HIT ( by a weapon or a crash of another unit ), CLEANUP will destroy the unit or group when the health of the unit reaches an AIRBORNE HEALTH LIMIT. </p>
<pre>
When the unit is HIT, it will register the unit <span class="keyword">for</span> further repeated health monitoring, <span class="keyword">until</span>:
</pre>
<p> <strong>* the unit's health is beyond the an AIRBORNE HEALTH LIMIT
*</strong> until the height of the unit is below the safety zone to prevent it from crashing.
<em>* When the unit is not airborne, and it is HIT, it will be registered
*</em> When the unit is </p>
<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#CLEANUP:New">CLEANUP:New (ZoneNames, TimeInterval)</a></td>
<td class="summary">Creates the main object which is handling the cleaning of the debris within the given Zone Names.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_ExecuteDeadEvents">CLEANUP:_ExecuteDeadEvents (CleanUpUnit)</a></td>
<td class="summary">This function is required, and used a non-documented feature.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_CheckLife">CLEANUP:_CheckLife (the)</a></td>
<td class="summary">Measures the life of a Unit using the LifeLimit treshold.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_CleanUnit">CLEANUP:_CleanUnit (CleanUpUnit)</a></td>
<td class="summary">Cleans a Group from the DCSRTE.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_EventAddForCleanUp">CLEANUP:_EventAddForCleanUp (event)</a></td>
<td class="summary">Detects if the Unit has an S<em>EVENT</em>ENGINE<em>SHUTDOWN or an S</em>EVENT_HIT within the given ZoneNames.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#CLEANUP:_Scheduler">CLEANUP:_Scheduler ()</a></td>
<td class="summary">At the defined time interval, CleanUp the Groups within the CleanUpList.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Functions"></a>Functions</h2>
<dl class="function">
<dt>
<a name = "CLEANUP:New"></a>
<strong>CLEANUP:New (ZoneNames, TimeInterval)</strong>
</dt>
<dd>
Creates the main object which is handling the cleaning of the debris within the given Zone Names.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">ZoneNames</span>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table{string,...}</a> or <a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
which is a table of zone names where the debris should be cleaned. Also a single string can be passed with one zone name.
</li>
<li><span class="parameter">TimeInterval</span>
<span class="types">optional <span class="type">number</span></span>
is the interval in seconds when the clean activity takes place. The default is 300 seconds, thus every 5 minutes.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">CLEANUP</span></span>
</ol>
<h3>Usage:</h3>
<ul>
<pre class="example">
<span class="comment">-- Clean these Zones.
</span> CleanUpAirports = CLEANUP:New( { <span class="string">'CLEAN Tbilisi'</span>, <span class="string">'CLEAN Kutaisi'</span> }, <span class="number">150</span> )
<span class="keyword">or</span>
CleanUpTbilisi = CLEANUP:New( <span class="string">'CLEAN Tbilisi'</span>, <span class="number">150</span> )
CleanUpKutaisi = CLEANUP:New( <span class="string">'CLEAN Kutaisi'</span>, <span class="number">600</span> )</pre>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_ExecuteDeadEvents"></a>
<strong>CLEANUP:_ExecuteDeadEvents (CleanUpUnit)</strong>
</dt>
<dd>
This function is required, and used a non-documented feature. The function world.onEvent will loop through all registered event handlers with the event structure given.
This is required to be done because the method Group.destroy(Group) does not generate the S<em>EVENT</em>DEAD through all the registered event handlers.
As such, the other classes using the S<em>EVENT</em>DEAD will get confused if this event is not catched properly...
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">CleanUpUnit</span>
</li>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_CheckLife"></a>
<strong>CLEANUP:_CheckLife (the)</strong>
</dt>
<dd>
Measures the life of a Unit using the LifeLimit treshold. Returns true if Group has a life lower than the treshold, false if the life is still okay.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">the</span>
<span class="types"><span class="type">Group</span></span>
Group to be cleaned.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">bool</span></span>
</ol>
</dd>
<dt>
<a name = "CLEANUP:_CleanUnit"></a>
<strong>CLEANUP:_CleanUnit (CleanUpUnit)</strong>
</dt>
<dd>
Cleans a Group from the DCSRTE.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">CleanUpUnit</span>
</li>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_EventAddForCleanUp"></a>
<strong>CLEANUP:_EventAddForCleanUp (event)</strong>
</dt>
<dd>
Detects if the Unit has an S<em>EVENT</em>ENGINE<em>SHUTDOWN or an S</em>EVENT_HIT within the given ZoneNames. If this is the case, add the Group to the CLEANUP List.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">event</span>
</li>
</ul>
</dd>
<dt>
<a name = "CLEANUP:_Scheduler"></a>
<strong>CLEANUP:_Scheduler ()</strong>
</dt>
<dd>
At the defined time interval, CleanUp the Groups within the CleanUpList.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-02-11 11:12:10 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,201 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Functions">Functions</a></li>
<li><a href="#Tables">Tables</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><strong>routines</strong></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
</div>
<div id="content">
<h1>Module <code>routines</code></h1>
<p>Various routines</p>
<p></p>
<h3>Info:</h3>
<ul>
<li><strong>Author</strong>: Flightcontrol</li>
</ul>
<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#do_scheduled_functions">do_scheduled_functions ()</a></td>
<td class="summary">not intended for users to use this function.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#ChooseInfantry">ChooseInfantry (TeleportPrefixTable, TeleportMax)</a></td>
<td class="summary">Obsolete function, but kept to rework in framework.</td>
</tr>
</table>
<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#routines">routines</a></td>
<td class="summary">Extract of MIST functions.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#utils">utils</a></td>
<td class="summary">Utils- conversion, Lua utils, etc.</td>
</tr>
</table>
<br/>
<br/>
<h2><a name="Functions"></a>Functions</h2>
<dl class="function">
<dt>
<a name = "do_scheduled_functions"></a>
<strong>do_scheduled_functions ()</strong>
</dt>
<dd>
not intended for users to use this function.
</dd>
<dt>
<a name = "ChooseInfantry"></a>
<strong>ChooseInfantry (TeleportPrefixTable, TeleportMax)</strong>
</dt>
<dd>
Obsolete function, but kept to rework in framework.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">TeleportPrefixTable</span>
</li>
<li><span class="parameter">TeleportMax</span>
</li>
</ul>
</dd>
</dl>
<h2><a name="Tables"></a>Tables</h2>
<dl class="function">
<dt>
<a name = "routines"></a>
<strong>routines</strong>
</dt>
<dd>
Extract of MIST functions.
</dd>
<dt>
<a name = "utils"></a>
<strong>utils</strong>
</dt>
<dd>
Utils- conversion, Lua utils, etc.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,101 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><strong>trace</strong></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
</div>
<div id="content">
<h1>Module <code>trace</code></h1>
<p>Tracing functions...</p>
<p></p>
<h3>Info:</h3>
<ul>
<li><strong>Author</strong>: Flightcontrol</li>
</ul>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,97 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>ldoc</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><strong>eStatHandler</strong></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/GROUP.html">GROUP</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
<li><a href="../classes/UNIT.html">UNIT</a></li>
<li><a href="../classes/ZONE.html">ZONE</a></li>
</ul>
</div>
<div id="content">
<h1>Script <code>eStatHandler</code></h1>
<p>Provides a logging of statistics in a running DCS Mission.</p>
<p></p>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2016-03-14 10:50:59 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,178 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>MOOSE</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>MOOSE</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Context">Context </a></li>
<li><a href="#Currently_supported_functions">Currently supported functions </a></li>
<li><a href="#Installation">Installation </a></li>
<li><a href="#What_has_changed_">What has changed? </a></li>
</ul>
<h2>Topics</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><strong>manual</strong></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/routines.html">routines</a></li>
<li><a href="../modules/trace.html">trace</a></li>
</ul>
<h2>Scripts</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../scripts/eStatHandler.html">eStatHandler</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/BASE.html">BASE</a></li>
<li><a href="../classes/CARGO.html">CARGO</a></li>
<li><a href="../classes/CLEANUP.html">CLEANUP</a></li>
<li><a href="../classes/CLIENT.html">CLIENT</a></li>
<li><a href="../classes/DATABASE.html">DATABASE</a></li>
<li><a href="../classes/DEPLOYTASK.html">DEPLOYTASK</a></li>
<li><a href="../classes/DESTROYBASETASK.html">DESTROYBASETASK</a></li>
<li><a href="../classes/DESTROYGROUPSTASK.html">DESTROYGROUPSTASK</a></li>
<li><a href="../classes/DESTROYRADARSTASK.html">DESTROYRADARSTASK</a></li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html">DESTROYUNITTYPESTASK</a></li>
<li><a href="../classes/GOHOMETASK.html">GOHOMETASK</a></li>
<li><a href="../classes/MENU.html">MENU</a></li>
<li><a href="../classes/MESSAGE.html">MESSAGE</a></li>
<li><a href="../classes/MISSION.html">MISSION</a></li>
<li><a href="../classes/MOVEMENT.html">MOVEMENT</a></li>
<li><a href="../classes/NOTASK.html">NOTASK</a></li>
<li><a href="../classes/PICKUPTASK.html">PICKUPTASK</a></li>
<li><a href="../classes/ROUTETASK.html">ROUTETASK</a></li>
<li><a href="../classes/SEAD.html">SEAD</a></li>
<li><a href="../classes/SLINGLOADHOOKTASK.html">SLINGLOADHOOKTASK</a></li>
<li><a href="../classes/SLINGLOADUNHOOKTASK.html">SLINGLOADUNHOOKTASK</a></li>
<li><a href="../classes/SPAWN.html">SPAWN</a></li>
<li><a href="../classes/STAGE.html">STAGE</a></li>
<li><a href="../classes/TASK.html">TASK</a></li>
</ul>
</div>
<div id="content">
<h1>MOOSE Framework for Eagle Dynamics <a href="https://www.digitalcombatsimulator.com">DCS World</a></h1>
<p><a name="Context"></a></p>
<h2>Context</h2>
<p><strong>MOOSE</strong> is a <strong>M</strong>ission <strong>O</strong>bject <strong>O</strong>riented <strong>S</strong>cripting <strong>E</strong>nvironment, and is meant for mission designers and mission hosters.
It allows (will allow) to quickly setup complex missions using pre-scripted scenarios.
In order to run missions using this framework, you will need to install the framework within your Eagle Dynamics program files folder.</p>
<p>The goal of MOOSE is to allow mission designers to enhance their scripting with mission orchestration objects, which can be instantiated from defined classes within the framework.
This will allow to write mission scripts with minimal code embedded. Of course, the richness of the framework will determine the richness of the misson scenarios.
We can expect that MOOSE will evolve over time, as more missions will be designed within the framework.</p>
<p><a name="Currently_supported_functions"></a></p>
<h2>Currently supported functions</h2>
<p>MOOSE contains currently the following mission design functions. The words in CAPITAL letters document the classes that can be used within MOOSE to accomplish these functions.</p>
<ol>
<li><a href="../classes/SPAWN.html#">SPAWN</a> Dynamic spawning and respawning of Groups with related functions.</li>
<li><a href="../classes/MOVEMENT.html#">MOVEMENT</a> Keeps control over the amount of units driving around the battlefield simultaneously.</li>
<li><a href="../classes/CLEANUP.html#">CLEANUP</a> Clean-Up zones with air units that crashed. Can be used to prevent airports blocking air traffic and ground control operations due to crashed units near the airfield.</li>
<li><a href="../classes/SEAD.html#">SEAD</a> Enables the defenses for SAM sites. Mobile SAMs will evade fired anti-radiation missiles by shutting down their radars (for a while). If they are mobile, they will also drive away.</li>
<li><a href="../classes/MISSION.html#">MISSION</a> Create Taskforces or Missions within a DCS Mission. A mission will consist of <a href="../classes/TASK.html#">TASK</a>s, and <a href="../classes/CLIENT.html#">CLIENT</a>s.</li>
<li><a href="../classes/TASK.html#">TASK</a> Add tasks for the mission. There are many different tasks that can be given, by using the classes derived from TASK.</li>
<li><a href="../classes/DEPLOYTASK.html#">DEPLOYTASK</a> Deploy Cargo within a zone.</li>
<li><a href="../classes/PICKUPTASK.html#">PICKUPTASK</a> Pick-Up Cargo from a zone.</li>
<li><a href="../classes/GOHOMETASK.html#">GOHOMETASK</a> Fly back home.</li>
<li><a href="../classes/DESTROYGROUPSTASK.html#">DESTROYGROUPSTASK</a> Destroy Groups.</li>
<li><a href="../classes/DESTROYUNITTYPESTASK.html#">DESTROYUNITTYPESTASK</a> Destroy Units by measuring their UNIT Type.</li>
<li><a href="../classes/DESTROYRADARSTASK.html#">DESTROYRADARSTASK</a> Destroy Radars of SAM Groups.</li>
<li><a href="../classes/SLINGLOADHOOKTASK.html#">SLINGLOADHOOKTASK</a> Hook-Up Cargo within a zone and sling-load it outside of the zone.</li>
<li><a href="../classes/SLINGLOADUNHOOKTASK.html#">SLINGLOADUNHOOKTASK</a> Sling-load Cargo to a zone and Un-Hook the Cargo within the zone.</li>
<li><a href="../classes/CLIENT.html#">CLIENT</a> Registers a client within MOOSE.</li>
<li><a href="../classes/MESSAGE.html#">MESSAGE</a> Send messages to <a href="../classes/CLIENT.html#">CLIENT</a>s.</li>
<li><a href="../classes/MENU.html#">MENU</a> Menu System.</li>
</ol>
<p><a name="Installation"></a></p>
<h2>Installation</h2>
<p>The installation of the MOOSE framework is straightforward.</p>
<ol>
<li><p>Extract MOOSE.zip. You can do this quickly by right clicking the MOOSE.zip file, and select "Extract All".</p></li>
<li><p>The extraction will add a directory within the Scripts directory of the Eagle Dynamics DCS world installation.
Example, the Scripts directory of my DCS World installation folder is C:\Program Files\Eagle Dynamics\DCS World\Scripts</p></li>
<li><p>Browse within the new MOOSE directory to the DCS_Script directory and run Install.bat as an administrator.
This will make a backup of the missionScripting.lua file and replace this with a new one.</p></li>
</ol>
<p>And you're done.</p>
<p><a name="What_has_changed_"></a></p>
<h2>What has changed?</h2>
<p>Not much. The missionscripting.lua file has been enhanced with the following code:</p>
<hr/>
<pre>
Include = {}
Include.LoadPath = <span class="string">'Scripts/MOOSE'</span>
Include.Files = {}
Include.File = <span class="keyword">function</span>( IncludeFile )
<span class="keyword">if</span> <span class="keyword">not</span> Include.Files[ IncludeFile ] <span class="keyword">then</span>
Include.Files[IncludeFile] = IncludeFile
<span class="global">dofile</span>( Include.LoadPath .. <span class="string">"/"</span> .. IncludeFile .. <span class="string">".lua"</span> )
env.info( <span class="string">"Include:"</span> .. IncludeFile .. <span class="string">" loaded."</span> )
<span class="keyword">end</span>
<span class="keyword">end</span>
Include.File( <span class="string">"Database"</span> )
Include.File( <span class="string">"StatHandler"</span> )
</pre>
<hr/>
<p>This code allows for the inclusion of the MOOSE framework, and this now becomes part of your DCS World Simulation Engine.
Missions designed with the MOOSE framework will now run.</p>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-01-29 21:06:10 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>

View File

@ -1,21 +0,0 @@
d:\my dcs missions\scripts\moose\moose\deploytask.lua:16: DEPLOYTASK:New: param and formal argument name mismatch: 'LandingZones' 'CargoType'
d:\my dcs missions\scripts\moose\moose\deploytask.lua:16: DEPLOYTASK:New: extra param with no formal argument: 'CargoType'
d:\my dcs missions\scripts\moose\moose\pickuptask.lua:5: ?: unknown tag: 'parent' nil
d:\my dcs missions\scripts\moose\moose\pickuptask.lua:18: PICKUPTASK:New: param and formal argument name mismatch: 'LandingZones' 'CargoType'
d:\my dcs missions\scripts\moose\moose\pickuptask.lua:18: PICKUPTASK:New: param and formal argument name mismatch: 'CargoType' 'OnBoardSide'
d:\my dcs missions\scripts\moose\moose\pickuptask.lua:18: PICKUPTASK:New: extra param with no formal argument: 'OnBoardSide'
d:\my dcs missions\scripts\moose\moose\spawn.lua:72: SPAWN:NewWithAlias: undocumented formal argument: 'SpawnAliasPrefix'
d:\my dcs missions\scripts\moose\moose\spawn.lua:305: SPAWN:SpawnArray: param and formal argument name mismatch: 'SpawnZone' 'SpawnAngle'
d:\my dcs missions\scripts\moose\moose\spawn.lua:305: SPAWN:SpawnArray: param and formal argument name mismatch: 'SpawnAngle' 'SpawnWidth'
d:\my dcs missions\scripts\moose\moose\spawn.lua:305: SPAWN:SpawnArray: param and formal argument name mismatch: 'SpawnFormation' 'SpawnDeltaX'
d:\my dcs missions\scripts\moose\moose\spawn.lua:305: SPAWN:SpawnArray: param and formal argument name mismatch: 'SpawnWidth' 'SpawnDeltaY'
d:\my dcs missions\scripts\moose\moose\spawn.lua:305: SPAWN:SpawnArray: extra param with no formal argument: 'SpawnDeltaX'
d:\my dcs missions\scripts\moose\moose\spawn.lua:305: SPAWN:SpawnArray: extra param with no formal argument: 'SpawnDeltaY'
d:\my dcs missions\scripts\moose\moose\spawn.lua:430: SPAWN:ReSpawn: param and formal argument name mismatch: 'SpawnGroupName' 'SpawnIndex'
d:\my dcs missions\scripts\moose\moose\spawn.lua:556: SPAWN:SpawnFromUnit: undocumented formal argument: 'OuterRadius'
d:\my dcs missions\scripts\moose\moose\spawn.lua:556: SPAWN:SpawnFromUnit: undocumented formal argument: 'InnerRadius'
d:\my dcs missions\scripts\moose\moose\spawn.lua:556: SPAWN:SpawnFromUnit: undocumented formal argument: 'SpawnIndex'
d:\my dcs missions\scripts\moose\moose\spawn.lua:629: SPAWN:SpawnInZone: param and formal argument name mismatch: 'The' 'Zone'
d:\my dcs missions\scripts\moose\moose\spawn.lua:629: SPAWN:SpawnInZone: undocumented formal argument: 'SpawnIndex'
d:\my dcs missions\scripts\moose\moose\message.lua:134: MESSAGE:ToCoalition: module not found: coalition coalition.side
d:\my dcs missions\scripts\moose\moose\spawn.lua:509: SPAWN:ScheduleStart: function not found: Schedule in this module Schedule