|Description:||Forces the selected units to fire at a designated area (using a radio command). |
Units only fire, if the target position can be reached (there are no obstacles between them and the position). There do not have to be OPFORs in the target area for the AI to fire - as long as the target position can be hit, the units open fire.
Only affects infantry units. Vehicle gunners do not fire. Group leaders (even if infantry) also do not fire. An active suppressive fire order can be cancelled by either executing a new one, with a time limit of 0, or by issuing a "Back to formation" order to the group members.
|Syntax:||commandSuppressiveFire [pos, dir, pitch, size, show, color, shooters, time, ammo, mags, mode, aim]|
|Return Value:||Number - Index of suppressive fire order (to be used with getSuppressiveFire).|
Causes all units in the mission to fire at a 3x3x3 area that is 20m in front of the player.
The target box is colored red, and visible to the player:
_pos = convertToASL(player modelToWorld [0,20,1]); commandSuppressiveFire [_pos,[0,1,0],[0,0,1],[3,3,3],true,[1,0,0,.5],allUnits]
|See also:||getSuppressiveFire, doSuppressiveFire, allSuppressiveFires, suppressFor, commandObservation, fire|