suppressFor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


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


| 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=
Line 18: Line 15:


| [[Nothing]] |RETURNVALUE=
| [[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

Revision as of 04:55, 17 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