suppressFor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
Line 17: Line 17:
|descr= Force [[Suppressive Fire|suppressive fire]] from the unit.
|descr= Force [[Suppressive Fire|suppressive fire]] from the unit.


|s1= unit '''suppressFor''' duration
|s1= unit [[suppressFor]] duration


|p1= unit: [[Object]]
|p1= unit: [[Object]]

Revision as of 19:11, 20 June 2021

Hover & click on the images for description

Description

Description:
Force suppressive fire from the unit.
Groups:
Unit Control

Syntax

Syntax:
unit suppressFor duration
Parameters:
unit: Object
duration: Number
Return Value:
Nothing

Examples

Example 1:
_soldier1 suppressFor 10; // Will force soldier1 to do suppressive fire to known enemies for 10 seconds

Additional Information

See also:
setSuppressiongetSuppressioncommandSuppressiveFiredoSuppressiveFire

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note