currentMuzzle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Changed example to use variable to receive result)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1=gunner: [[Object]] |=  
|p1=gunner: [[Object]] |=  
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>"m107" <nowiki>=</nowiki> currentMuzzle sniper;</code> |=  
|x1= <pre>_muzzle <nowiki>=</nowiki> currentMuzzle sniper;</pre> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:09, 16 December 2010

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;

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