forceWeaponFire

From Bohemia Interactive Community
Revision as of 12:10, 22 May 2013 by DarkDruid (talk | contribs) (Wrong type os parameter fixed.)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
The unit will be forced to fire from the given weapon.
Groups:
Uncategorised

Syntax

Syntax:
unit forceWeaponFire [weapon, mode]
Parameters:
unit: Object
[weapon, mode]: Array
weapon: String
mode: String - Possible options are "Single", "Burst" and "FullAuto".
Return Value:
Nothing

Examples

Example 1:
soldierOne forceWeaponFire ["arifle_MX_F", "Single"]

Additional Information

See also:
See also needed

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