primaryWeaponItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
Line 34: Line 34:


<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dt></dt>
<dd class="notedate">Posted on March 16, 2015 - 12:04 (UTC)</dd>
<dd class="notedate">Posted on March 16, 2015 - 12:04 (UTC)</dd>

Revision as of 14:37, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Inventory

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
Return Value:
Array - [silencer, laserpointer/flashlight, optics, bipod]

Examples

Example 1:
primaryWeaponItems player; /* [ "muzzle_snds_H", //silencer "acc_pointer_IR", //laser "optic_Aco", //optics "bipod_01_F_blk" //bipod ] */

Additional Information

See also:
addPrimaryWeaponItemremovePrimaryWeaponItemremoveAllPrimaryWeaponItemsweaponAccessoriesweaponAccessoriesCargohandgunItemsbinocularItemssecondaryWeaponItemsweaponsItemsweaponsItemsCargo

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
Posted on March 16, 2015 - 12:04 (UTC)
Jezuro
Since revision 129742, this command also returns an attached bipod.