commandSuppressiveFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
Line 15: Line 15:
* If object is passed as target param, it depends on what kind of object. If it is considered a proper target by the unit, it is tracked by the unit dynamically. If it is not, the position gets obtained via [[getPosWorld]], which could be different from [[PositionASL]] of the object, and it is fixed even if the target is able to change position later.
* If object is passed as target param, it depends on what kind of object. If it is considered a proper target by the unit, it is tracked by the unit dynamically. If it is not, the position gets obtained via [[getPosWorld]], which could be different from [[PositionASL]] of the object, and it is fixed even if the target is able to change position later.


| unit '''commandSuppressiveFire''' target
|s1=  unit '''commandSuppressiveFire''' target


|p1= unit: [[Object]] or [[Array]] - a single unit or array of units
|p1= unit: [[Object]] or [[Array]] - a single unit or array of units

Revision as of 23:58, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
unit commandSuppressiveFire target
Parameters:
unit: Object or Array - a single unit or array of units
target: Object or Array - actual target or position of the target in format PositionASL
Return Value:
Nothing

Examples

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

Additional Information

See also:
firedoFirecommandFirecanFirefireAtTargetforceWeaponFirecommandArtilleryFiredoArtilleryFiredoSuppressiveFireisManualFiresuppressFor

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
Posted on October 8, 2016 - 16:19 (UTC)
Fett Li
Command expects position as second argument in format ASL in A3 1.64.138497.