{"name":"suppressFor","operator":null,"title":"suppressFor","type":"command","url":"https://community.bistudio.com/wiki/suppressFor","revid":321213,"updated":"2022-05-13T15:31:19Z","groups":["Unit Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.05"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.05"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Force suppressive fire from the unit.","syntaxes":[{"syntax":"unit suppressFor duration","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"},{"name":"duration","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"duration: Number"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"duration","types":["Number"]}}],"examples":[{"text":"```sqf\n_soldier1 suppressFor 10; // Will force soldier1 to do suppressive fire to known enemies for 10 seconds\n```","code":["_soldier1 suppressFor 10; // Will force soldier1 to do suppressive fire to known enemies for 10 seconds"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setSuppression","getSuppression","commandSuppressiveFire","doSuppressiveFire"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Control","Introduced with Arma 2 version 1.05","Scripting Commands","Take On Helicopters: Scripting Commands"]}