{"name":"commandSuppressiveFire","operator":null,"title":"commandSuppressiveFire","type":"command","url":"https://community.bistudio.com/wiki/commandSuppressiveFire","revid":377828,"updated":"2026-01-03T04:28:29Z","groups":["Unit Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.60"}],"since":{"game":"arma3","name":"Arma 3","version":"1.60"},"arma3_since":"1.60","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Orders the given unit or a group of units to suppress the given position or target (with radio messages, see doSuppressiveFire if you do not want messages).\n- When an Array of units is passed as param, only units from the same Group as the first unit in array are considered.\n- The unit (units) starts firing at the given target or position random amount of shots (exact formula unknown, but seems to depend on amount of ammo unit has) after which it stops.\n- currentCommand shows `\"Suppress\"` and there is no way of stopping unit before it completes random amount of rounds.\n- If a position is passed as target param, it stays fixed.\n- If an object is passed as target param, it depends on what kind of object:\n  - If it is considered a proper target by the unit, it is tracked by the unit dynamically.\n  - If it is not, the position gets obtained via getPosWorld, which could be different from PositionASL of the object, and it is fixed even if the target is able to change position later.","syntaxes":[{"syntax":"unit commandSuppressiveFire target","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object or Array of Objects","optional":false,"default":null,"description":"a single unit or array of units","types":["Object","Array"],"since":null,"text":"unit: Object or Array of Objects - a single unit or array of units"},{"name":"target","type":"Object or PositionASL","optional":false,"default":null,"description":"actual target or position","types":["Object","PositionASL"],"since":null,"text":"target: Object or PositionASL - actual target or position"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object","Array"]},"right":{"text":"target","types":["Object","PositionASL"]}}],"examples":[{"text":"```sqf\n_soldier commandSuppressiveFire getPosWorld _enemy;\n```","code":["_soldier commandSuppressiveFire getPosWorld _enemy;"]},{"text":"```sqf\n_soldier commandSuppressiveFire cursorTarget;\n```","code":["_soldier commandSuppressiveFire cursorTarget;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["fire","doFire","commandFire","canFire","fireAtTarget","forceWeaponFire","commandArtilleryFire","doArtilleryFire","doSuppressiveFire","isManualFire","suppressFor"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Control","Introduced with Arma 3 version 1.60","Scripting Commands","Scripting Commands: Global Effect"]}