Module AI_BAI
-AI -- Provide Battleground Air Interdiction (bombing).
+AI -- Provide Battlefield Air Interdiction (bombing).
OnLeave Transition Handler for State Engaging.
+If Search is Off, the current zone coordinate will be the center of the bombing.
+If Search is On, BAI will search for potential targets in the zone.
+Specifies whether to search for potential targets in the zone, or let the center of the zone be the bombing coordinate.
When the AI has accomplished the BOMB, it will fly back to the Patrol Zone.
+When the AI has accomplished the Bombing, it will fly back to the Patrol Zone.
3. Modify the Engage Zone behaviour to pinpoint a map object or scenery object
+ +Use the method AIBAIZONE.SearchOff() to specify that the EngageZone is not to be searched for potential targets (units), but that the center of the zone +is the point where a map object is to be destroyed (like a bridge).
+ +Example:
+ + -- Tell the BAI not to search for potential targets in the BAIEngagementZone, but rather use the center of the BAIEngagementZone as the bombing location.
+ AIBAIZone:SearchOff()
+
+
+Searching can be switched back on with the method AIBAIZONE.SearchOn(). Use the method AIBAIZONE.SearchOnOff() to flexibily switch searching on or off.
+@@ -1364,6 +1401,85 @@ The To State string.
#boolean: Return false to cancel Transition.
+ + +-
+
- + + + +AI_BAI_ZONE.Search + + +
- + + + + +
-
+
- + + +AI_BAI_ZONE:SearchOff() + + +
-
+
+
If Search is Off, the current zone coordinate will be the center of the bombing.
+ +Return value
+ + + + +
+
-
+
- + + +AI_BAI_ZONE:SearchOn() + + +
-
+
+
If Search is On, BAI will search for potential targets in the zone.
+ +Return value
+ + + + +
+
-
+
- + + +AI_BAI_ZONE:SearchOnOff(Search) + + +
-
+
+
Specifies whether to search for potential targets in the zone, or let the center of the zone be the bombing coordinate.
+ + +AIBAIZONE will search for potential targets by default.
+ +Parameter
+-
+
-
+
+
+ +Search:
+
Return value
+ + + + -
+
+
-
diff --git a/docs/Documentation/Controllable.html b/docs/Documentation/Controllable.html
index 2d445d50e..c5abef460 100644
--- a/docs/Documentation/Controllable.html
+++ b/docs/Documentation/Controllable.html
@@ -539,7 +539,7 @@ This is different from the EnRoute tasks, where the targets of the task need to
(AIR) Attacking the map object (building, structure, e.t.c).
(AIR) Delivering weapon at the point on the ground.
Dcs.DCSTypes#Vec2 Vec2 :
-2D-coordinates of the point the map object is closest to. The distance between the point and the map object must not be greater than 2000 meters. Object id is not used here because Mission Editor doesn't support map object identificators.
#number WeaponType :
-(optional) Bitmask of weapon types those allowed to use. If parameter is not defined that means no limits on weapon usage.
#boolean GroupAttack :
+(optional) If true, all units in the group will attack the Unit when found.
#boolean ControllableAttack :
-(optional) Flag indicates that the target must be engaged by all aircrafts of the controllable. Has effect only if the task is assigned to a controllable, not to a single aircraft.
#number Altitude :
+(optional) The altitude from where to attack.
#number WeaponType :
+(optional) The WeaponType.
#boolean GroupAttack :
-(optional) Flag indicates that the target must be engaged by all aircrafts of the group. Has effect only if the task is assigned to a group, not to a single aircraft.
#number AttackQty :
-(optional) Desired quantity of passes. The parameter is not the same in AttackGroup and AttackUnit tasks.
#number Altitude :
+(optional) The altitude from where to attack.
#number WeaponType :
-(optional) Bitmask of weapon types those allowed to use. If parameter is not defined that means no limits on weapon usage.
- + #number DATABASE.UNITS_Position diff --git a/docs/Documentation/Designate.html b/docs/Documentation/Designate.html index 10ff4c243..36af9145f 100644 --- a/docs/Documentation/Designate.html +++ b/docs/Documentation/Designate.html @@ -891,6 +891,7 @@ function below will use the range 1-7 just in case
- + DESIGNATE.LaserCodes diff --git a/docs/Documentation/Detection.html b/docs/Documentation/Detection.html index e512594d8..13499cb5c 100644 --- a/docs/Documentation/Detection.html +++ b/docs/Documentation/Detection.html @@ -2336,7 +2336,6 @@ The index of the DetectedItem.
- - #number DETECTION_BASE.DetectedItemMax diff --git a/docs/Documentation/Fsm.html b/docs/Documentation/Fsm.html index b832094de..a5360ca5f 100644 --- a/docs/Documentation/Fsm.html +++ b/docs/Documentation/Fsm.html @@ -1623,7 +1623,7 @@ A string defining the start state.
- - + #string FSM._StartState @@ -1922,7 +1922,6 @@ A string defining the start state.
-
-
FSM.current
diff --git a/docs/Documentation/Spawn.html b/docs/Documentation/Spawn.html
index 6bbc5b660..1d8d862f2 100644
--- a/docs/Documentation/Spawn.html
+++ b/docs/Documentation/Spawn.html
@@ -771,6 +771,12 @@ and any spaces before and after the resulting name are removed.
SPAWN:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle) + +
Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.
--
@@ -2528,9 +2531,6 @@ when nothing was spawned.
-
-
Overwrite unit names by default with group name.
--
@@ -2545,9 +2545,6 @@ when nothing was spawned.
-
-
By default, no InitLimit
--
@@ -2583,7 +2580,7 @@ when nothing was spawned.
- - #number + SPAWN.SpawnMaxGroups @@ -2600,7 +2597,7 @@ when nothing was spawned.
-
- #number
+
SPAWN.SpawnMaxUnitsAlive
@@ -2952,7 +2949,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
-
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.
- + + + +SPAWN.uncontrolled + + +
- + + +
- - SPOT.ScheduleID @@ -776,7 +775,6 @@ true if it is lasing
- - SPOT.SpotIR @@ -790,7 +788,6 @@ true if it is lasing
- - SPOT.SpotLaser @@ -804,7 +801,6 @@ true if it is lasing
-
-
SPOT.Target
diff --git a/docs/Documentation/Task_Cargo.html b/docs/Documentation/Task_Cargo.html
index 5cb0f06fd..7b5964a17 100644
--- a/docs/Documentation/Task_Cargo.html
+++ b/docs/Documentation/Task_Cargo.html
@@ -502,7 +502,7 @@ based on the tasking capabilities defined in Task#TA
-
-
+ Core.Cargo#CARGO
FSM_PROCESS.Cargo
diff --git a/docs/Documentation/index.html b/docs/Documentation/index.html
index 5766ea5a2..9255879bf 100644
--- a/docs/Documentation/index.html
+++ b/docs/Documentation/index.html
@@ -99,7 +99,7 @@
AI_BAI - AI -- Provide Battleground Air Interdiction (bombing).
+AI -- Provide Battlefield Air Interdiction (bombing).
-
-
+ Core.Cargo#CARGO
FSM_PROCESS.Cargo
diff --git a/docs/Documentation/index.html b/docs/Documentation/index.html
index 5766ea5a2..9255879bf 100644
--- a/docs/Documentation/index.html
+++ b/docs/Documentation/index.html
@@ -99,7 +99,7 @@
-
+