From efd2f7938e6ff41d1ddeca3571059a6a26200313 Mon Sep 17 00:00:00 2001
From: FlightControl_Master This table contains the targets detected during patrol.
diff --git a/docs/Documentation/Designate.html b/docs/Documentation/Designate.html
index e613b9310..ff349e1b5 100644
--- a/docs/Documentation/Designate.html
+++ b/docs/Documentation/Designate.html
@@ -1097,7 +1097,7 @@ function below will use the range 1-7 just in case
Contains the counter how many units are currently alive
+Will spawn a group at an airbase.
+Will spawn a group at an Airbase.
SPAWN.Takeoff| SPAWN.Takeoff.type | -- |
Note that SPAWN.Spawn and SPAWN.ReSpawn return a GROUP#GROUP.New object, that contains a reference to the DCSGroup object. @@ -2201,9 +2192,6 @@ The group that was spawned. You can use this group for further actions.
- -Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.
-Will spawn a group at an airbase.
+Will spawn a group at an Airbase.
This method is mostly advisable to be used if you want to simulate spawning units at an airbase. Note that each point in the route assigned to the spawning group is reset to the point of the spawn. You can use the returned group to further define the route to be followed.
+The Airbase#AIRBASE object must refer to a valid airbase known in the sim. +You can use the following enumerations to search for the pre-defined airbases on the current known maps of DCS:
+ +Use the method Airbase#AIRBASE.FindByName() to retrieve the airbase object. +The known AIRBASE objects are automatically imported at mission start by MOOSE. +Therefore, there isn't any New() constructor defined for AIRBASE objects.
+ +Ships and Farps are added within the mission, and are therefore not known. +For these AIRBASE objects, there isn't an Airbase#AIRBASE enumeration defined. +You need to provide the exact name of the airbase as the parameter to the Airbase#AIRBASE.FindByName() method!
+ +Wrapper.Airbase#AIRBASE Airbase :
+
Wrapper.Airbase#AIRBASE SpawnAirbase :
The Airbase where to spawn the group.
Spawn_Plane = SPAWN:New( "Plane" )
+ Spawn_Plane:SpawnAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Krymsk ), SPAWN.Takeoff.Cold )
+ Spawn_Plane:SpawnAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Krymsk ), SPAWN.Takeoff.Hot )
+ Spawn_Plane:SpawnAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Krymsk ), SPAWN.Takeoff.Runway )
+
+ Spawn_Plane:SpawnAtAirbase( AIRBASE:FindByName( "Carrier" ), SPAWN.Takeoff.Cold )
+
+ Spawn_Heli = SPAWN:New( "Heli")
+
+ Spawn_Heli:SpawnAtAirbase( AIRBASE:FindByName( "FARP Cold" ), SPAWN.Takeoff.Cold )
+ Spawn_Heli:SpawnAtAirbase( AIRBASE:FindByName( "FARP Hot" ), SPAWN.Takeoff.Hot )
+ Spawn_Heli:SpawnAtAirbase( AIRBASE:FindByName( "FARP Runway" ), SPAWN.Takeoff.Runway )
+ Spawn_Heli:SpawnAtAirbase( AIRBASE:FindByName( "FARP Air" ), SPAWN.Takeoff.Air )
+
+ Spawn_Heli:SpawnAtAirbase( AIRBASE:FindByName( "Carrier" ), SPAWN.Takeoff.Cold )
+
+
By default, no InitLimit
-Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.
+When the first Spawn executes, all the Groups need to be made visible before start.
Enumerator for spawns at airbases
-