suppressFor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(spelling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|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]] |= See also
| [[setSuppression]], [[getSuppression]] |SEEALSO=


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Force suppressive fire from the unit.
Groups:
Uncategorised

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:
setSuppressiongetSuppression

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