mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
MOOSE generated documentation [skip ci]
This commit is contained in:
@@ -2486,7 +2486,7 @@ The method <a href="##(POSITIONABLE).GetVelocity">POSITIONABLE.GetVelocity</a>()
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE).OnEventEjection">POSITIONABLE:OnEventEjection(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when a pilot ejects from an aircraft
|
||||
initiator : The unit that has ejected </p>
|
||||
initiator : The unit that has ejected</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -2523,8 +2523,7 @@ initiator : The unit that has ejected </p>
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE).OnEventLand">POSITIONABLE:OnEventLand(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when an aircraft lands at an airbase, farp or ship
|
||||
initiator : The unit that has landed
|
||||
place: Object that the unit landed on.</p>
|
||||
initiator : The unit that has landed.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -2536,7 +2535,7 @@ place: Object that the unit landed on.</p>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE).OnEventLandingQualityMark">POSITIONABLE:OnEventLandingQualityMark(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Landing quality mark. </p>
|
||||
<p>Landing quality mark.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -2560,13 +2559,13 @@ place: Object that the unit landed on.</p>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE).OnEventMissionEnd">POSITIONABLE:OnEventMissionEnd(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when a mission ends</p>
|
||||
<p>Occurs when a mission ends.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE).OnEventMissionStart">POSITIONABLE:OnEventMissionStart(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when a mission starts </p>
|
||||
<p>Occurs when a mission starts.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -3167,7 +3166,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE.__).OnEventEjection">POSITIONABLE.__:OnEventEjection(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when a pilot ejects from an aircraft
|
||||
initiator : The unit that has ejected </p>
|
||||
initiator : The unit that has ejected</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -3204,8 +3203,7 @@ initiator : The unit that has ejected </p>
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE.__).OnEventLand">POSITIONABLE.__:OnEventLand(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when an aircraft lands at an airbase, farp or ship
|
||||
initiator : The unit that has landed
|
||||
place: Object that the unit landed on.</p>
|
||||
initiator : The unit that has landed.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -3217,7 +3215,7 @@ place: Object that the unit landed on.</p>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE.__).OnEventLandingQualityMark">POSITIONABLE.__:OnEventLandingQualityMark(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Landing quality mark. </p>
|
||||
<p>Landing quality mark.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -3241,13 +3239,13 @@ place: Object that the unit landed on.</p>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE.__).OnEventMissionEnd">POSITIONABLE.__:OnEventMissionEnd(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when a mission ends</p>
|
||||
<p>Occurs when a mission ends.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(POSITIONABLE.__).OnEventMissionStart">POSITIONABLE.__:OnEventMissionStart(EventData)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Occurs when a mission starts </p>
|
||||
<p>Occurs when a mission starts.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -8531,7 +8529,7 @@ If the Identifiable is alive, true is returned. </p>
|
||||
<p>Get the ClassName + ClassID of the class instance.</p>
|
||||
|
||||
|
||||
<p>The ClassName + ClassID is formatted as '%s#%09d'. </p>
|
||||
<p>The ClassName + ClassID is formatted as '%s#%09d'.</p>
|
||||
|
||||
<div id= "#Functions##GetClassNameAndID" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -8564,7 +8562,7 @@ If the Identifiable is alive, true is returned. </p>
|
||||
<p>Get the Class <a href="Event.html">Event</a> processing Priority.</p>
|
||||
|
||||
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
|
||||
<div id= "#Functions##GetEventPriority" class="w3-show w3-white">
|
||||
@@ -8601,10 +8599,10 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
<p>Note that the Parent class must be passed to call the parent class method.</p>
|
||||
|
||||
<pre><code>self:GetParent(self):ParentMethod()
|
||||
|
||||
|
||||
</code></pre>
|
||||
|
||||
|
||||
|
||||
<div id= "#Functions##GetParent" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
@@ -8663,7 +8661,7 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
<p>Get a Value given a Key from the Object.</p>
|
||||
|
||||
|
||||
<p>Note that if the Object is destroyed, nillified or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
<p>Note that if the Object is destroyed, set to nil, or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
|
||||
<div id= "#Functions##GetState" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -8961,9 +8959,9 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
local self = BASE:Inherit( self, BASE:New() ) -- #EVENT
|
||||
return self
|
||||
end
|
||||
|
||||
</code></pre>
|
||||
|
||||
|
||||
<div id= "#Functions##New" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
@@ -8995,7 +8993,7 @@ end
|
||||
<p>Occurs when an object is completely destroyed.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is was destroyed. </p>
|
||||
<p>initiator : The unit that is was destroyed.</p>
|
||||
|
||||
<div id= "#Functions##OnEvent" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9064,8 +9062,8 @@ end
|
||||
<p>Occurs when a ground unit captures either an airbase or a farp.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that captured the base
|
||||
place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction. </p>
|
||||
<p>initiator : The unit that captured the base.
|
||||
place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction.</p>
|
||||
|
||||
<div id= "#Functions##OnEventBaseCaptured" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9101,7 +9099,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
<p>Occurs when any object is spawned into the mission.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that was spawned </p>
|
||||
<p>initiator : The unit that was spawned.</p>
|
||||
|
||||
<div id= "#Functions##OnEventBirth" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9137,7 +9135,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
<p>Occurs when any aircraft crashes into the ground and is completely destroyed.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that has crashed </p>
|
||||
<p>initiator : The unit that has crashed.</p>
|
||||
|
||||
<div id= "#Functions##OnEventCrash" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9173,7 +9171,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
<p>Occurs when an object is dead.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is dead. </p>
|
||||
<p>initiator : The unit that is dead.</p>
|
||||
|
||||
<div id= "#Functions##OnEventDead" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9281,7 +9279,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
</div>
|
||||
|
||||
<p>Occurs when a pilot ejects from an aircraft
|
||||
initiator : The unit that has ejected </p>
|
||||
initiator : The unit that has ejected</p>
|
||||
|
||||
<div id= "#Functions##OnEventEjection" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9317,7 +9315,7 @@ initiator : The unit that has ejected </p>
|
||||
<p>Occurs when any aircraft shuts down its engines.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is stopping its engines. </p>
|
||||
<p>initiator : The unit that is stopping its engines..</p>
|
||||
|
||||
<div id= "#Functions##OnEventEngineShutdown" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9353,7 +9351,7 @@ initiator : The unit that has ejected </p>
|
||||
<p>Occurs when any aircraft starts its engines.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is starting its engines. </p>
|
||||
<p>initiator : The unit that is starting its engines..</p>
|
||||
|
||||
<div id= "#Functions##OnEventEngineStartup" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9389,9 +9387,9 @@ initiator : The unit that has ejected </p>
|
||||
<p>Occurs whenever an object is hit by a weapon.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit object the fired the weapon
|
||||
weapon: Weapon object that hit the target
|
||||
target: The Object that was hit. </p>
|
||||
<p>initiator : The unit object the fired the weapon.
|
||||
weapon: Weapon object that hit the target.
|
||||
target: The Object that was hit.</p>
|
||||
|
||||
<div id= "#Functions##OnEventHit" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9427,7 +9425,7 @@ target: The Object that was hit. </p>
|
||||
<p>Occurs when any system fails on a human controlled aircraft.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that had the failure </p>
|
||||
<p>initiator : The unit that had the failure.</p>
|
||||
|
||||
<div id= "#Functions##OnEventHumanFailure" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9466,7 +9464,7 @@ target: The Object that was hit. </p>
|
||||
<p>Contains more and different information. Similar to unit_lost it will occur for aircraft before the aircraft crash event occurs.</p>
|
||||
|
||||
<ul>
|
||||
<li>initiator: The unit that killed the target</li>
|
||||
<li>initiator: The unit that killed the target.</li>
|
||||
<li>target: Target Object</li>
|
||||
<li>weapon: Weapon Object</li>
|
||||
</ul>
|
||||
@@ -9504,11 +9502,10 @@ target: The Object that was hit. </p>
|
||||
</div>
|
||||
|
||||
<p>Occurs when an aircraft lands at an airbase, farp or ship
|
||||
initiator : The unit that has landed
|
||||
place: Object that the unit landed on.</p>
|
||||
initiator : The unit that has landed.</p>
|
||||
|
||||
|
||||
<p>Can be an Airbase Object, FARP, or Ships </p>
|
||||
<p>place: Object that the unit landed on. Can be an Airbase Object, FARP, or Ships.</p>
|
||||
|
||||
<div id= "#Functions##OnEventLand" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9584,7 +9581,7 @@ place: Object that the unit landed on.</p>
|
||||
<h2><a id="#(POSITIONABLE).OnEventLandingQualityMark" ><strong>POSITIONABLE:OnEventLandingQualityMark(EventData)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Landing quality mark. </p>
|
||||
<p>Landing quality mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventLandingQualityMark" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9620,7 +9617,7 @@ place: Object that the unit landed on.</p>
|
||||
<p>Occurs when a new mark was added.</p>
|
||||
|
||||
|
||||
<p>MarkID: ID of the mark. </p>
|
||||
<p>MarkID: ID of the mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMarkAdded" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9656,7 +9653,7 @@ place: Object that the unit landed on.</p>
|
||||
<p>Occurs when a mark text was changed.</p>
|
||||
|
||||
|
||||
<p>MarkID: ID of the mark. </p>
|
||||
<p>MarkID: ID of the mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMarkChange" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9692,7 +9689,7 @@ place: Object that the unit landed on.</p>
|
||||
<p>Occurs when a mark was removed.</p>
|
||||
|
||||
|
||||
<p>MarkID: ID of the mark. </p>
|
||||
<p>MarkID: ID of the mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMarkRemoved" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9725,7 +9722,7 @@ place: Object that the unit landed on.</p>
|
||||
<h2><a id="#(POSITIONABLE).OnEventMissionEnd" ><strong>POSITIONABLE:OnEventMissionEnd(EventData)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Occurs when a mission ends</p>
|
||||
<p>Occurs when a mission ends.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMissionEnd" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9758,7 +9755,7 @@ place: Object that the unit landed on.</p>
|
||||
<h2><a id="#(POSITIONABLE).OnEventMissionStart" ><strong>POSITIONABLE:OnEventMissionStart(EventData)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Occurs when a mission starts </p>
|
||||
<p>Occurs when a mission starts.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMissionStart" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9831,7 +9828,7 @@ place: Object that the unit landed on.</p>
|
||||
|
||||
|
||||
<p>Can occur either if the player is alive and crashes or if a weapon kills the pilot without completely destroying the plane.
|
||||
initiator : The unit that the pilot has died in. </p>
|
||||
initiator : The unit that the pilot has died in.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPilotDead" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9867,8 +9864,8 @@ initiator : The unit that the pilot has died in. </p>
|
||||
<p>Occurs when a player enters a slot and takes control of an aircraft.</p>
|
||||
|
||||
|
||||
<p><strong>NOTE</strong>: This is a workaround of a long standing DCS bug with the PLAYER_ENTER_UNIT event.
|
||||
initiator : The unit that is being taken control of. </p>
|
||||
<p><strong>NOTE</strong>: This is a workaround of a long standing DCS bug with the PLAYER_ENTER_UNIT event.
|
||||
initiator : The unit that is being taken control of.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPlayerEnterAircraft" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9904,7 +9901,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when any player assumes direct control of a unit.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is being taken control of. </p>
|
||||
<p>initiator : The unit that is being taken control of.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPlayerEnterUnit" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9940,7 +9937,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when any player relieves control of a unit to the AI.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that the player left. </p>
|
||||
<p>initiator : The unit that the player left.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPlayerLeaveUnit" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -9976,7 +9973,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when an aircraft connects with a tanker and begins taking on fuel.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is receiving fuel. </p>
|
||||
<p>initiator : The unit that is receiving fuel.</p>
|
||||
|
||||
<div id= "#Functions##OnEventRefueling" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10012,7 +10009,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when an aircraft is finished taking fuel.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that was receiving fuel. </p>
|
||||
<p>initiator : The unit that was receiving fuel.</p>
|
||||
|
||||
<div id= "#Functions##OnEventRefuelingStop" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10085,7 +10082,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
|
||||
|
||||
<p>Event will always correspond with a shooting start event.
|
||||
initiator : The unit that was doing the shooting. </p>
|
||||
initiator : The unit that was doing the shooting.</p>
|
||||
|
||||
<div id= "#Functions##OnEventShootingEnd" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10121,9 +10118,9 @@ initiator : The unit that was doing the shooting. </p>
|
||||
<p>Occurs when any unit begins firing a weapon that has a high rate of fire.</p>
|
||||
|
||||
|
||||
<p>Most common with aircraft cannons (GAU-8), autocannons, and machine guns.
|
||||
<p>Most common with aircraft cannons (GAU-8), auto cannons, and machine guns.
|
||||
initiator : The unit that is doing the shooting.
|
||||
target: The unit that is being targeted. </p>
|
||||
target: The unit that is being targeted.</p>
|
||||
|
||||
<div id= "#Functions##OnEventShootingStart" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10159,7 +10156,7 @@ target: The unit that is being targeted. </p>
|
||||
<p>Occurs whenever any unit in a mission fires a weapon.</p>
|
||||
|
||||
|
||||
<p>But not any machine gun or autocannon based weapon, those are handled by EVENT.ShootingStart.</p>
|
||||
<p>But not any machine gun or auto cannon based weapon, those are handled by EVENT.ShootingStart.</p>
|
||||
|
||||
<div id= "#Functions##OnEventShot" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10195,8 +10192,8 @@ target: The unit that is being targeted. </p>
|
||||
<p>Occurs when an aircraft takes off from an airbase, farp, or ship.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that tookoff
|
||||
place: Object from where the AI took-off from. Can be an Airbase Object, FARP, or Ships </p>
|
||||
<p>initiator : The unit that took off.
|
||||
place: Object from where the AI took-off from. Can be an Airbase Object, FARP, or Ships.</p>
|
||||
|
||||
<div id= "#Functions##OnEventTakeoff" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10523,7 +10520,7 @@ place: Object from where the AI took-off from. Can be an Airbase Object, FARP, o
|
||||
<p>Set the Class <a href="Event.html">Event</a> processing Priority.</p>
|
||||
|
||||
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
|
||||
<div id= "#Functions##SetEventPriority" class="w3-show w3-white">
|
||||
@@ -10571,7 +10568,7 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
<p>Set a state or property of the Object given a Key and a Value.</p>
|
||||
|
||||
|
||||
<p>Note that if the Object is destroyed, nillified or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
<p>Note that if the Object is destroyed, set to nil, or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
|
||||
<div id= "#Functions##SetState" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -10954,11 +10951,13 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code>-- Switch the tracing On
|
||||
BASE:TraceOnOff( true )
|
||||
<pre class="example"><code>
|
||||
-- Switch the tracing On
|
||||
BASE:TraceOnOff( true )
|
||||
|
||||
-- Switch the tracing Off
|
||||
BASE:TraceOnOff( false )</code></pre>
|
||||
-- Switch the tracing Off
|
||||
BASE:TraceOnOff( false )
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -11125,7 +11124,7 @@ BASE:TraceOnOff( false )</code></pre>
|
||||
|
||||
|
||||
|
||||
<p> TODO: Complete DCS#Event structure. <br/>
|
||||
<p> TODO: Complete DCS#Event structure.
|
||||
- The main event handling function... This function captures all events generated for the class.
|
||||
@param #BASE self
|
||||
@param DCS#Event event</p>
|
||||
@@ -12473,7 +12472,7 @@ If the Identifiable is alive, true is returned. </p>
|
||||
<p>Get the ClassName + ClassID of the class instance.</p>
|
||||
|
||||
|
||||
<p>The ClassName + ClassID is formatted as '%s#%09d'. </p>
|
||||
<p>The ClassName + ClassID is formatted as '%s#%09d'.</p>
|
||||
|
||||
<div id= "#Functions##GetClassNameAndID" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -12506,7 +12505,7 @@ If the Identifiable is alive, true is returned. </p>
|
||||
<p>Get the Class <a href="Event.html">Event</a> processing Priority.</p>
|
||||
|
||||
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
|
||||
<div id= "#Functions##GetEventPriority" class="w3-show w3-white">
|
||||
@@ -12543,10 +12542,10 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
<p>Note that the Parent class must be passed to call the parent class method.</p>
|
||||
|
||||
<pre><code>self:GetParent(self):ParentMethod()
|
||||
|
||||
|
||||
</code></pre>
|
||||
|
||||
|
||||
|
||||
<div id= "#Functions##GetParent" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
@@ -12605,7 +12604,7 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
<p>Get a Value given a Key from the Object.</p>
|
||||
|
||||
|
||||
<p>Note that if the Object is destroyed, nillified or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
<p>Note that if the Object is destroyed, set to nil, or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
|
||||
<div id= "#Functions##GetState" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -12903,9 +12902,9 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
local self = BASE:Inherit( self, BASE:New() ) -- #EVENT
|
||||
return self
|
||||
end
|
||||
|
||||
</code></pre>
|
||||
|
||||
|
||||
<div id= "#Functions##New" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
@@ -12937,7 +12936,7 @@ end
|
||||
<p>Occurs when an object is completely destroyed.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is was destroyed. </p>
|
||||
<p>initiator : The unit that is was destroyed.</p>
|
||||
|
||||
<div id= "#Functions##OnEvent" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13006,8 +13005,8 @@ end
|
||||
<p>Occurs when a ground unit captures either an airbase or a farp.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that captured the base
|
||||
place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction. </p>
|
||||
<p>initiator : The unit that captured the base.
|
||||
place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction.</p>
|
||||
|
||||
<div id= "#Functions##OnEventBaseCaptured" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13043,7 +13042,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
<p>Occurs when any object is spawned into the mission.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that was spawned </p>
|
||||
<p>initiator : The unit that was spawned.</p>
|
||||
|
||||
<div id= "#Functions##OnEventBirth" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13079,7 +13078,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
<p>Occurs when any aircraft crashes into the ground and is completely destroyed.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that has crashed </p>
|
||||
<p>initiator : The unit that has crashed.</p>
|
||||
|
||||
<div id= "#Functions##OnEventCrash" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13115,7 +13114,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
<p>Occurs when an object is dead.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is dead. </p>
|
||||
<p>initiator : The unit that is dead.</p>
|
||||
|
||||
<div id= "#Functions##OnEventDead" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13223,7 +13222,7 @@ place: The airbase that was captured, can be a FARP or Airbase. When calling pla
|
||||
</div>
|
||||
|
||||
<p>Occurs when a pilot ejects from an aircraft
|
||||
initiator : The unit that has ejected </p>
|
||||
initiator : The unit that has ejected</p>
|
||||
|
||||
<div id= "#Functions##OnEventEjection" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13259,7 +13258,7 @@ initiator : The unit that has ejected </p>
|
||||
<p>Occurs when any aircraft shuts down its engines.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is stopping its engines. </p>
|
||||
<p>initiator : The unit that is stopping its engines..</p>
|
||||
|
||||
<div id= "#Functions##OnEventEngineShutdown" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13295,7 +13294,7 @@ initiator : The unit that has ejected </p>
|
||||
<p>Occurs when any aircraft starts its engines.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is starting its engines. </p>
|
||||
<p>initiator : The unit that is starting its engines..</p>
|
||||
|
||||
<div id= "#Functions##OnEventEngineStartup" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13331,9 +13330,9 @@ initiator : The unit that has ejected </p>
|
||||
<p>Occurs whenever an object is hit by a weapon.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit object the fired the weapon
|
||||
weapon: Weapon object that hit the target
|
||||
target: The Object that was hit. </p>
|
||||
<p>initiator : The unit object the fired the weapon.
|
||||
weapon: Weapon object that hit the target.
|
||||
target: The Object that was hit.</p>
|
||||
|
||||
<div id= "#Functions##OnEventHit" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13369,7 +13368,7 @@ target: The Object that was hit. </p>
|
||||
<p>Occurs when any system fails on a human controlled aircraft.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that had the failure </p>
|
||||
<p>initiator : The unit that had the failure.</p>
|
||||
|
||||
<div id= "#Functions##OnEventHumanFailure" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13408,7 +13407,7 @@ target: The Object that was hit. </p>
|
||||
<p>Contains more and different information. Similar to unit_lost it will occur for aircraft before the aircraft crash event occurs.</p>
|
||||
|
||||
<ul>
|
||||
<li>initiator: The unit that killed the target</li>
|
||||
<li>initiator: The unit that killed the target.</li>
|
||||
<li>target: Target Object</li>
|
||||
<li>weapon: Weapon Object</li>
|
||||
</ul>
|
||||
@@ -13446,11 +13445,10 @@ target: The Object that was hit. </p>
|
||||
</div>
|
||||
|
||||
<p>Occurs when an aircraft lands at an airbase, farp or ship
|
||||
initiator : The unit that has landed
|
||||
place: Object that the unit landed on.</p>
|
||||
initiator : The unit that has landed.</p>
|
||||
|
||||
|
||||
<p>Can be an Airbase Object, FARP, or Ships </p>
|
||||
<p>place: Object that the unit landed on. Can be an Airbase Object, FARP, or Ships.</p>
|
||||
|
||||
<div id= "#Functions##OnEventLand" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13526,7 +13524,7 @@ place: Object that the unit landed on.</p>
|
||||
<h2><a id="#(POSITIONABLE.__).OnEventLandingQualityMark" ><strong>POSITIONABLE.__:OnEventLandingQualityMark(EventData)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Landing quality mark. </p>
|
||||
<p>Landing quality mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventLandingQualityMark" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13562,7 +13560,7 @@ place: Object that the unit landed on.</p>
|
||||
<p>Occurs when a new mark was added.</p>
|
||||
|
||||
|
||||
<p>MarkID: ID of the mark. </p>
|
||||
<p>MarkID: ID of the mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMarkAdded" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13598,7 +13596,7 @@ place: Object that the unit landed on.</p>
|
||||
<p>Occurs when a mark text was changed.</p>
|
||||
|
||||
|
||||
<p>MarkID: ID of the mark. </p>
|
||||
<p>MarkID: ID of the mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMarkChange" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13634,7 +13632,7 @@ place: Object that the unit landed on.</p>
|
||||
<p>Occurs when a mark was removed.</p>
|
||||
|
||||
|
||||
<p>MarkID: ID of the mark. </p>
|
||||
<p>MarkID: ID of the mark.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMarkRemoved" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13667,7 +13665,7 @@ place: Object that the unit landed on.</p>
|
||||
<h2><a id="#(POSITIONABLE.__).OnEventMissionEnd" ><strong>POSITIONABLE.__:OnEventMissionEnd(EventData)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Occurs when a mission ends</p>
|
||||
<p>Occurs when a mission ends.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMissionEnd" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13700,7 +13698,7 @@ place: Object that the unit landed on.</p>
|
||||
<h2><a id="#(POSITIONABLE.__).OnEventMissionStart" ><strong>POSITIONABLE.__:OnEventMissionStart(EventData)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Occurs when a mission starts </p>
|
||||
<p>Occurs when a mission starts.</p>
|
||||
|
||||
<div id= "#Functions##OnEventMissionStart" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13773,7 +13771,7 @@ place: Object that the unit landed on.</p>
|
||||
|
||||
|
||||
<p>Can occur either if the player is alive and crashes or if a weapon kills the pilot without completely destroying the plane.
|
||||
initiator : The unit that the pilot has died in. </p>
|
||||
initiator : The unit that the pilot has died in.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPilotDead" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13809,8 +13807,8 @@ initiator : The unit that the pilot has died in. </p>
|
||||
<p>Occurs when a player enters a slot and takes control of an aircraft.</p>
|
||||
|
||||
|
||||
<p><strong>NOTE</strong>: This is a workaround of a long standing DCS bug with the PLAYER_ENTER_UNIT event.
|
||||
initiator : The unit that is being taken control of. </p>
|
||||
<p><strong>NOTE</strong>: This is a workaround of a long standing DCS bug with the PLAYER_ENTER_UNIT event.
|
||||
initiator : The unit that is being taken control of.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPlayerEnterAircraft" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13846,7 +13844,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when any player assumes direct control of a unit.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is being taken control of. </p>
|
||||
<p>initiator : The unit that is being taken control of.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPlayerEnterUnit" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13882,7 +13880,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when any player relieves control of a unit to the AI.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that the player left. </p>
|
||||
<p>initiator : The unit that the player left.</p>
|
||||
|
||||
<div id= "#Functions##OnEventPlayerLeaveUnit" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13918,7 +13916,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when an aircraft connects with a tanker and begins taking on fuel.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that is receiving fuel. </p>
|
||||
<p>initiator : The unit that is receiving fuel.</p>
|
||||
|
||||
<div id= "#Functions##OnEventRefueling" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -13954,7 +13952,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
<p>Occurs when an aircraft is finished taking fuel.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that was receiving fuel. </p>
|
||||
<p>initiator : The unit that was receiving fuel.</p>
|
||||
|
||||
<div id= "#Functions##OnEventRefuelingStop" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -14027,7 +14025,7 @@ initiator : The unit that is being taken control of. </p>
|
||||
|
||||
|
||||
<p>Event will always correspond with a shooting start event.
|
||||
initiator : The unit that was doing the shooting. </p>
|
||||
initiator : The unit that was doing the shooting.</p>
|
||||
|
||||
<div id= "#Functions##OnEventShootingEnd" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -14063,9 +14061,9 @@ initiator : The unit that was doing the shooting. </p>
|
||||
<p>Occurs when any unit begins firing a weapon that has a high rate of fire.</p>
|
||||
|
||||
|
||||
<p>Most common with aircraft cannons (GAU-8), autocannons, and machine guns.
|
||||
<p>Most common with aircraft cannons (GAU-8), auto cannons, and machine guns.
|
||||
initiator : The unit that is doing the shooting.
|
||||
target: The unit that is being targeted. </p>
|
||||
target: The unit that is being targeted.</p>
|
||||
|
||||
<div id= "#Functions##OnEventShootingStart" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -14101,7 +14099,7 @@ target: The unit that is being targeted. </p>
|
||||
<p>Occurs whenever any unit in a mission fires a weapon.</p>
|
||||
|
||||
|
||||
<p>But not any machine gun or autocannon based weapon, those are handled by EVENT.ShootingStart.</p>
|
||||
<p>But not any machine gun or auto cannon based weapon, those are handled by EVENT.ShootingStart.</p>
|
||||
|
||||
<div id= "#Functions##OnEventShot" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -14137,8 +14135,8 @@ target: The unit that is being targeted. </p>
|
||||
<p>Occurs when an aircraft takes off from an airbase, farp, or ship.</p>
|
||||
|
||||
|
||||
<p>initiator : The unit that tookoff
|
||||
place: Object from where the AI took-off from. Can be an Airbase Object, FARP, or Ships </p>
|
||||
<p>initiator : The unit that took off.
|
||||
place: Object from where the AI took-off from. Can be an Airbase Object, FARP, or Ships.</p>
|
||||
|
||||
<div id= "#Functions##OnEventTakeoff" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -14465,7 +14463,7 @@ place: Object from where the AI took-off from. Can be an Airbase Object, FARP, o
|
||||
<p>Set the Class <a href="Event.html">Event</a> processing Priority.</p>
|
||||
|
||||
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
<p>The Event processing Priority is a number from 1 to 10,
|
||||
reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
|
||||
<div id= "#Functions##SetEventPriority" class="w3-show w3-white">
|
||||
@@ -14513,7 +14511,7 @@ reflecting the order of the classes subscribed to the Event to be processed.</p>
|
||||
<p>Set a state or property of the Object given a Key and a Value.</p>
|
||||
|
||||
|
||||
<p>Note that if the Object is destroyed, nillified or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
<p>Note that if the Object is destroyed, set to nil, or garbage collected, then the Values and Keys will also be gone.</p>
|
||||
|
||||
<div id= "#Functions##SetState" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
@@ -14896,11 +14894,13 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code>-- Switch the tracing On
|
||||
BASE:TraceOnOff( true )
|
||||
<pre class="example"><code>
|
||||
-- Switch the tracing On
|
||||
BASE:TraceOnOff( true )
|
||||
|
||||
-- Switch the tracing Off
|
||||
BASE:TraceOnOff( false )</code></pre>
|
||||
-- Switch the tracing Off
|
||||
BASE:TraceOnOff( false )
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -15067,7 +15067,7 @@ BASE:TraceOnOff( false )</code></pre>
|
||||
|
||||
|
||||
|
||||
<p> TODO: Complete DCS#Event structure. <br/>
|
||||
<p> TODO: Complete DCS#Event structure.
|
||||
- The main event handling function... This function captures all events generated for the class.
|
||||
@param #BASE self
|
||||
@param DCS#Event event</p>
|
||||
|
||||
Reference in New Issue
Block a user