diff --git a/docs/Documentation/AI_A2A.html b/docs/Documentation/AI_A2A.html index a806e13d7..fff574c9b 100644 --- a/docs/Documentation/AI_A2A.html +++ b/docs/Documentation/AI_A2A.html @@ -661,7 +661,6 @@
Sets flights to default take-off in the air, as part of the defense system.
+Defines the default altitude where airplanes will spawn in the air and take-off as part of the defense system, when the take-off in the air method has been selected.
Sets flights to take-off in the air, as part of the defense system.
+Defines the default altitude where airplanes will spawn in the air and take-off as part of the defense system, when the take-off in the air method has been selected.
In the case of the AIA2ADISPATCHER.SetSquadronTakeoffInAir() there is also an other parameter that can be applied. +That is modifying or setting the altitude from where planes spawn in the air. +Use the method AIA2ADISPATCHER.SetSquadronTakeoffInAirAltitude() to set the altitude for a specific squadron. +The default takeoff altitude can be modified or set using the method AIA2ADISPATCHER.SetSquadronTakeoffInAirAltitude(). +As part of the method AIA2ADISPATCHER.SetSquadronTakeoffInAir() a parameter can be specified to set the takeoff altitude. +If this parameter is not specified, then the default altitude will be used for the squadron.
+In analogy with takeoff, the landing methods are to control how squadrons land at the airfield:
@@ -3773,6 +3794,42 @@ From the airbase hot, from the airbase cold, in the air, from the runway.Defines the default altitude where airplanes will spawn in the air and take-off as part of the defense system, when the take-off in the air method has been selected.
+ +#number TakeoffAltitude :
+The altitude in meters above the ground.
+
+ local A2ADispatcher = AI_A2A_DISPATCHER:New( ... )
+
+ -- Set the default takeoff altitude when taking off in the air.
+ A2ADispatcher:SetDefaultTakeoffInAirAltitude( 2000 ) -- This makes planes start at 2000 meters above the ground.
+
+
+Sets flights to take-off in the air, as part of the defense system.
-#string SquadronName :
The name of the squadron.
#number TakeoffAltitude :
+(optional) The altitude in meters above the ground. If not given, the default takeoff altitude will be used.
Defines the default altitude where airplanes will spawn in the air and take-off as part of the defense system, when the take-off in the air method has been selected.
+ +#string SquadronName :
+The name of the squadron.
#number TakeoffAltitude :
+The altitude in meters above the ground.
+
+ local A2ADispatcher = AI_A2A_DISPATCHER:New( ... )
+
+ -- Set the default takeoff altitude when taking off in the air.
+ A2ADispatcher:SetSquadronTakeoffInAirAltitude( "SquadronName", 2000 ) -- This makes planes start at 2000 meters above the ground.
+
+
+Will spawn a group at an airbase.
#SPAWN.Takeoff Takeoff :
(optional) The location and takeoff method. Default is Hot.
#number TakeoffAltitude :
+(optional) The altitude above the ground.
Overwrite unit names by default with group name.
+By default, no InitLimit
+When the first Spawn executes, all the Groups need to be made visible before start.
+Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.