suppressFor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 25: | Line 25: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_soldier1 '''suppressFor''' 10; // Will force soldier1 to do suppressive fire to known enemies for 10 seconds</sqf> | ||
|seealso= [[setSuppression]] [[getSuppression]] [[commandSuppressiveFire]] [[doSuppressiveFire]] | |seealso= [[setSuppression]] [[getSuppression]] [[commandSuppressiveFire]] [[doSuppressiveFire]] | ||
}} | }} |
Revision as of 10:25, 13 May 2022
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
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