doFire

From Bohemia Interactive Community
Revision as of 16:21, 2 August 2006 by Hoz (talk | contribs) (moved notes)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Order the given unit to fire on the given target (without radio messages). If the target is objNull, the unit is ordered to fire on its current target (set with doTarget or commandTarget).
Groups:
Uncategorised

Syntax

Syntax:
unit doFire target
Parameters:
unit: Object
target: Object
Return Value:
Nothing

Examples

Example 1:
ESoldier1 doFire WSoldier1

Additional Information

See also:
commandFirefire Arrayfire weaponName

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

It is often helpful to use doTarget first.

Bottom Section