currentMuzzle

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.51
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.51

Description

Description:
Returns current muzzle of unit's weapon.
warning.png This command will return 0 Number if given object is a vehicle instead of a person.

Syntax

Syntax:
currentMuzzle gunner
Parameters:
gunner: Object
Return Value:
String - current muzzle

Examples

Example 1:
_muzzle = currentMuzzle player;
Example 2:
_muzzle = currentMuzzle (gunner (vehicle player));

Additional Information

Multiplayer:
-
See also:
currentWeapon

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section