ARTY
* Groups can now be transported as cargo via ARTY:NewFromCargoGroup() function.
* If immobile units are defined as cargo, targets out of range are not deleted from the queue.
AI_CARGO_APC
* Adjusted function documentation.
AI_CARGO_DISPATCHER
* Adjusted function documentation.
AI_CARGO_HELICOPTER
* Adjusted function documentation.
CARGOG_ROUP
* Ajusted function documentation.
MESSAGE
* Adjusted function documentation.
* Added missing Settings parameter to some functions.
DCS
* Improved documentation.
MISSION:
* Adusted function documentatoin.
Generate new documentation with markdown _ change avoiding wrong italics in the documentation. This is an important change improving the documentation quality!
This effectivally reverts the change made in commit
ea96a5e0a38b ("Planes remaining at airfield fixed") to declutter
airbases of aircraft which land at incorrect bases.
The problem with the logic is an RTB command will not be issued until
the fuel threshold is reached. Therefore the check will always be true
resulting the the unit always being deleted.
Bug: 875
Signed-off-by: Jonathan Toppins <jtoppins@users.sourceforge.net>
This fixes the problem of planes owned by gcicap would immediately
despawn when shot causing their engine to quit.
While not ultimately satisfying as planes shot while taxiing will still
immediately despawn. One is now able to see their air victories in all
their glory, including the fiery crash into the ground.
Bug: 932
Signed-off-by: Jonathan Toppins <jtoppins@users.sourceforge.net>
AI_A2A and AI_Patrol:
Changed average fuel for controllable to new min fuel function. Hopefully provides better RTB behavior.
CONTROLLABLE:
Added GetFuelMin and GetFuelAve functions to ensure polymorphic behavior.
UNIT:
Added GetFuelMin and GetFuelAve functions for completeness and potential polymorphism.
RANGE:
-Optimized performance. Bombs are now only tracked if the player is within a certain distance of the range.
CONTROLLABLE:
- Added speed unit to @param description. Sometimes it was unclear if speed needs to be given in m/s or km/h.
- Fixed some default speed and conversions.
COORDINATE:
- Cleaned up some speed unit stuff.
- Reintroduced PathOnRoad function to contain the full path. Useful as interface to DCS API function.
- Fixed some default speed and conversions.
AI_CARGO_APC:
Speed is not fixed any more but set to 50% of the max speed a given unit can move at.