currentMuzzle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
Line 17: Line 17:
You can alternatively use <code>_muzzle {{=}} [[weaponState]] [[player]] select 1;</code>}}
You can alternatively use <code>_muzzle {{=}} [[weaponState]] [[player]] select 1;</code>}}


| '''currentMuzzle''' gunner
|s1=  '''currentMuzzle''' gunner


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

Revision as of 23:57, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Weapons

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