doSuppressiveFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
(some explanation)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Order the given unit to suppress a given position or target (without radio messages). |DESCRIPTION=
| 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unitName '''doSuppressiveFire''' target |SYNTAX=
| unitName '''doSuppressiveFire''' target |SYNTAX=


|p1= unitName: [[Object]] or [[Array]] |PARAMETER1=
|p1= unitName: [[Object]]|PARAMETER1=


|p2= target: [[Object]] or [[Array]] ([[Position]]) |PARAMETER2=
|p2= target: [[Object]] or [[Array]] in format [[PositionASL]]. In case of [[Object]], [[getPosWorld]] of the object is used |PARAMETER2=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=

Revision as of 12:57, 5 May 2019

Hover & click on the images for description

Description

Description:
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 "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.