weaponsItemsCargo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
<dd class="note"> | <dd class="note"> | ||
Since revision 129742, this command also returns an attached bipod. | Since revision 129742, this command also returns an attached bipod. | ||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> | |||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on August 21, 2015 - 10:42 (UTC)</dd> | |||
<dt class="note">[[User:IT07|IT07]]</dt> | |||
<dd class="note"> | |||
(ArmA 1.50) This command is sort-of bugged: if no magazine is present in the gun, it will not be available at all in the ARRAY. I expect it to be an empty STRING instead. Example <br> | |||
<code>["weapon_className","silencer","laser/light","scope",["magClassName",30],""] // With mag in gun</code> | |||
<code>["weapon_className","silencer","laser/light","scope",""] // Without mag in gun</code> | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 11:42, 21 August 2015
Description
- Description:
- Returns an array with subarrays contains class names and also names of connected items of all the vehicle's cargo weapons like [['arifle_MX_ACO_pointer_F','','acc_pointer_IR','optic_Aco',['30Rnd_65x39_caseless_mag',29],'bipod_01_F_blk']].
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
weaponsItemsCargo vehicle player;
- Example 2:
weaponsItemsCargo _weaponholder;
Additional Information
- See also:
- weaponsItems
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
- Posted on March 16, 2015 - 12:13 (UTC)
- Jezuro
- Since revision 129742, this command also returns an attached bipod.
- Posted on August 21, 2015 - 10:42 (UTC)
- IT07
-
(ArmA 1.50) This command is sort-of bugged: if no magazine is present in the gun, it will not be available at all in the ARRAY. I expect it to be an empty STRING instead. Example
["weapon_className","silencer","laser/light","scope",["magClassName",30],""] // With mag in gun
["weapon_className","silencer","laser/light","scope",""] // Without mag in gun