Difference between revisions of "itemsWithMagazines"
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.04|= Game version ____________________...") |
killzone_kid (talk | contribs) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | Returns | + | | Returns combined array including all unit's [[items]] and all unit's [[magazines]]. |= Description |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 16: | Line 16: | ||
− | |x1= <code>itemsWithMagazines player | + | |x1= <code>[[itemsWithMagazines]] [[player]] |
− | </code>|= EXAMPLE1 | + | //is essentially the same as |
+ | [[items]] [[player]] + [[magazines]] [[player]]</code> | ||
+ | |||
+ | <code>[ | ||
+ | "FirstAidKit", //item | ||
+ | "30Rnd_65x39_caseless_mag", //magazine | ||
+ | "16Rnd_9x21_Mag", //magazine | ||
+ | "Chemlight_green", //magazine | ||
+ | "HandGrenade", //magazine | ||
+ | "ToolKit", //item | ||
+ | "MineDetector" //item | ||
+ | ]</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | + | | [[removeAllItemsWithMagazines]] |= SEEALSO |
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 19:51, 17 October 2013
Description
- Description:
- Returns combined array including all unit's items and all unit's magazines.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
itemsWithMagazines player //is essentially the same as items player + magazines player
[ "FirstAidKit", //item "30Rnd_65x39_caseless_mag", //magazine "16Rnd_9x21_Mag", //magazine "Chemlight_green", //magazine "HandGrenade", //magazine "ToolKit", //item "MineDetector" //item ]
Additional Information
- See also:
- removeAllItemsWithMagazines
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