suppressFor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.05|Game version=
|1.05


|gr1= Unit Control |GROUP1=
|gr1= Unit Control


| Force [[Suppressive Fire|suppressive fire]] from the unit. |DESCRIPTION=
| Force [[Suppressive Fire|suppressive fire]] from the unit.


| unit '''suppressFor''' duration |SYNTAX=
| unit '''suppressFor''' duration


|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]]
|p2= duration: [[Number]] |PARAMETER2=
|p2= duration: [[Number]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
|x1 = <code> _soldier1 '''suppressFor''' 10 </code>
|x1 = <code> _soldier1 '''suppressFor''' 10 </code>
Will force soldier1 to do suppressive fire to known enemies during 10 seconds
Will force soldier1 to do suppressive fire to known enemies during 10 seconds


| [[setSuppression]], [[getSuppression]], [[commandSuppressiveFire]], [[doSuppressiveFire]] |SEEALSO=
| [[setSuppression]], [[getSuppression]], [[commandSuppressiveFire]], [[doSuppressiveFire]]


}}
}}

Revision as of 11:24, 18 January 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 during 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

Notes

Bottom Section