backpacks: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.14 | |version1= 2.14 | ||
|arg= | |arg= global | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
|descr= Returns an array of all | |descr= Returns an array of all backpack names a unit has in its inventory, excluding the one it carries on the back. | ||
|s1= [[backpacks]] unit | |s1= [[backpacks]] unit | ||
| Line 15: | Line 14: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1= [[Array]] | |r1= [[Array]] of [[String]]s | ||
|x1= <sqf> | |x1= <sqf>private _allCarriedBackpackTypes = backpacks player + [backpack player];</sqf> | ||
|seealso= [[backpack]] [[itemsWithMagazines]] [[assignedItems]] [[items]] [[magazines]] [[everyBackpack]] | |seealso= [[backpack]] [[itemsWithMagazines]] [[assignedItems]] [[items]] [[magazines]] [[everyBackpack]] | ||
}} | }} | ||
Latest revision as of 11:53, 1 January 2026
Description
- Description:
- Returns an array of all backpack names a unit has in its inventory, excluding the one it carries on the back.
- Groups:
- Unit Inventory
Syntax
Examples
- Example 1:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note