From abf84e121f0140e5a201f696249df401a94368fb Mon Sep 17 00:00:00 2001
From: FlightControl_Master This table contains the targets detected during patrol.
diff --git a/docs/Documentation/Cargo.html b/docs/Documentation/Cargo.html
index 64107dd30..6d992a859 100644
--- a/docs/Documentation/Cargo.html
+++ b/docs/Documentation/Cargo.html
@@ -2269,7 +2269,6 @@ The amount of seconds to delay the action.
Will spawn a group from a hosting static.
Will spawn a group from a hosting unit.
Will spawn a group from a Vec2 in 3D space.
Will spawn a Group within a given Zone.
#number MinHeight :
+(optional) The minimum height to spawn an airborne group into the zone.
#number MaxHeight :
+(optional) The maximum height to spawn an airborne group into the zone.
#number SpawnIndex :
(optional) The index which group to spawn within the given zone.
+ local SpawnStatic = STATIC:FindByName( StaticName )
+
+ -- Spawn from the static position at the height specified in the ME of the group template!
+ SpawnAirplanes:SpawnFromStatic( SpawnStatic )
+
+ -- Spawn from the static position at the height randomized between 2000 and 4000 meters.
+ SpawnAirplanes:SpawnFromStatic( SpawnStatic, 2000, 4000 )
+
+
#number MinHeight :
+(optional) The minimum height to spawn an airborne group into the zone.
#number MaxHeight :
+(optional) The maximum height to spawn an airborne group into the zone.
#number SpawnIndex :
(optional) The index which group to spawn within the given zone.
+ local SpawnStatic = STATIC:FindByName( StaticName )
+
+ -- Spawn from the static position at the height specified in the ME of the group template!
+ SpawnAirplanes:SpawnFromUnit( SpawnStatic )
+
+ -- Spawn from the static position at the height randomized between 2000 and 4000 meters.
+ SpawnAirplanes:SpawnFromUnit( SpawnStatic, 2000, 4000 )
+
+
#number MinHeight :
+(optional) The minimum height to spawn an airborne group into the zone.
#number MaxHeight :
+(optional) The maximum height to spawn an airborne group into the zone.
#number SpawnIndex :
(optional) The index which group to spawn within the given zone.
+ local SpawnVec2 = ZONE:New( ZoneName ):GetVec2()
+
+ -- Spawn at the zone center position at the height specified in the ME of the group template!
+ SpawnAirplanes:SpawnFromVec2( SpawnVec2 )
+
+ -- Spawn from the static position at the height randomized between 2000 and 4000 meters.
+ SpawnAirplanes:SpawnFromVec2( SpawnVec2, 2000, 4000 )
+
+
#number MinHeight :
+(optional) The minimum height to spawn an airborne group into the zone.
#number MaxHeight :
+(optional) The maximum height to spawn an airborne group into the zone.
#number SpawnIndex :
(optional) The index which group to spawn within the given zone.
+ local SpawnZone = ZONE:New( ZoneName )
+
+ -- Spawn at the zone center position at the height specified in the ME of the group template!
+ SpawnAirplanes:SpawnFromZone( SpawnZone )
+
+ -- Spawn in the zone at a random position at the height specified in the Me of the group template.
+ SpawnAirplanes:SpawnFromZone( SpawnZone, true )
+
+ -- Spawn in the zone at a random position at the height randomized between 2000 and 4000 meters.
+ SpawnAirplanes:SpawnFromUnit( SpawnZone, true, 2000, 4000 )
+
+ -- Spawn at the zone center position at the height randomized between 2000 and 4000 meters.
+ SpawnAirplanes:SpawnFromUnit( SpawnZone, false, 2000, 4000 )
+
+ -- Spawn at the zone center position at the height randomized between 2000 and 4000 meters.
+ SpawnAirplanes:SpawnFromUnit( SpawnZone, nil, 2000, 4000 )
+
+
self.SmokeColor = nil
+