currentMuzzle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| muzzle <nowiki>=</nowiki> '''currentMuzzle''' gunner |= Syntax
| '''currentMuzzle''' gunner |= Syntax


|p1=gunner: [[Object]] |=  
|p1= gunner: [[Object]] |=  


| [[String]] |= Return value
| [[String]] - current muzzle |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 17:18, 28 August 2014

Hover & click on the images for description

Description

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

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

See also:
currentWeapon

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