Now the GCI will spawn the actual overhead needed, independent of the
grouping parameter. For example, when grouping was 1 and overhead 1.5,
only one plane was spawned. Now two planes are spawned of 2 groups of 1
unit.
* Added method :SetDefaultCapTimeInterval( CapMinSeconds, CapMaxSeconds
) for AI_A2A_DISPATCHER and AI_A2A_GCICAP.
* Added method :SetDefaultCapLimit( CapLimit ) for AI_A2A_DISPATCHER and
AI_A2A_GCICAP.
Added documentation in chapter 10.7 and chapter 1.8.
Changed Treshold to Threshold
A lot of new methods have been added to set the default behaviour for:
* function AI_A2A_DISPATCHER:SetDefaultTakeoff( Takeoff )
* function AI_A2A_DISPATCHER:SetDefaultTakeoffFromParkingCold()
* function AI_A2A_DISPATCHER:SetDefaultTakeoffFromParkingHot()
* function AI_A2A_DISPATCHER:SetDefaultTakeoffFromRunway()
* function AI_A2A_DISPATCHER:SetDefaultTakeoffInAir()
* function AI_A2A_DISPATCHER:SetDefaultLanding( Landing )
* function AI_A2A_DISPATCHER:SetDefaultLandingAtEngineShutdown()
* function AI_A2A_DISPATCHER:SetDefaultLandingAtRunway()
* function AI_A2A_DISPATCHER:SetDefaultLandingNearAirbase()
* function AI_A2A_DISPATCHER:SetDefaultGrouping( Grouping )
* function AI_A2A_DISPATCHER:SetDefaultOverhead( Overhead )
When DetectionObject is nil (this can be), or is destroyed in between
detections, then nil must be returned and IsDetectedObjectIdentified is
not required to be checked.
Added the IsInstanceOf check in COORDINATE:ToString method. If Task is
given, (the Task), then it is checked which parent task it was from. If
A2A, the mode will be A2A, if A2G or CARGO, the mode will be A2G. If
Task was not given, then the unit type will decide upon the A2A or A2G
mode.
Upon a DEAD or CRASH event processing in a SET_GROUP, the GROUP object
would be removed regardless of how many UNITs are still in the GROUP
object.
The fix is that upon a DEAD or CRASH event in a SET_GROUP, it will be
checked if there is only one UNIT left in the GROUP, and only then the
GROUP will be removed from the SET_GROUP.