currentMuzzle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Changed example to use variable to receive result)
(Added example for vehicle use)
Line 18: Line 18:


|x1= <pre>_muzzle <nowiki>=</nowiki> currentMuzzle sniper;</pre> |=  
|x1= <pre>_muzzle <nowiki>=</nowiki> currentMuzzle sniper;</pre> |=  
|x2= <pre>_muzzle <nowiki>=</nowiki> currentMuzzle (gunner (vehicle player));</pre> |=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:43, 19 June 2011

Hover & click on the images for description

Description

Description:
Returns current muzzle of unit's weapon.
Groups:
Uncategorised

Syntax

Syntax:
muzzle = currentMuzzle gunner
Parameters:
gunner: Object
Return Value:
String

Examples

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

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