doSuppressiveFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(some explanation)
No edit summary
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Orders the given unit to suppress a given position or target (without radio messages). The unit starts firing at the given position random amount of shots (to be determined) after which it stops. [[currentCommand]] shows <tt>"Suppress"</tt> and there is no way of stopping unit before it completes random amount of rounds. The position at which unit fires is fixed. When object is passed as position, the position is obtained via [[getPosWorld]] and could be different from [[PositionASL]] of the object. |DESCRIPTION=
| Orders the given unit to suppress the given position or target (without radio messages). The unit starts firing at the given position random amount of shots (to be determined) after which it stops. [[currentCommand]] shows <tt>"Suppress"</tt> and there is no way of stopping unit before it completes random amount of rounds. The position at which unit fires is fixed. When object is passed as position, the position is obtained via [[getPosWorld]] and could be different from [[PositionASL]] of the object. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:00, 5 May 2019

Hover & click on the images for description

Description

Description:
Orders the given unit to suppress the given position or target (without radio messages). The unit starts firing at the given position random amount of shots (to be determined) after which it stops. currentCommand shows "Suppress" and there is no way of stopping unit before it completes random amount of rounds. The position at which unit fires is fixed. When object is passed as position, the position is obtained via getPosWorld and could be different from PositionASL of the object.
Groups:
Uncategorised

Syntax

Syntax:
unitName doSuppressiveFire target
Parameters:
unitName: Object
target: Object or Array in format PositionASL. In case of Object, getPosWorld of the object is used
Return Value:
Nothing

Examples

Example 1:
_soldier doSuppressiveFire [1869.508,5760.962,0.000]
Example 2:
_soldier doSuppressiveFire cursorTarget

Additional Information

See also:
suppressForfiredoFirecommandFirecanFirefireAtTargetforceWeaponFirecommandArtilleryFirecommandSuppressiveFiredoArtilleryFireisManualFire

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

Posted on October 8, 2016 - 16:19 (UTC)
Fett Li
Command expects position as second argument in format ASL in A3 1.64.138497.