everyBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.04|= Game version ____________________...")
 
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns array of backpacks stored in given crate. Used for accessing backpack content of a backpack on ground. |= Description
| Returns array of backpacks stored in given crate or vehicle. Used for accessing backpack content of a backpack on ground. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 16:




|x1= <code>everyBackpack cursorTarget;
|x1= <code>[[everyBackpack]] [[cursorTarget]];</code>|= EXAMPLE1
</code>|= EXAMPLE1
 
|x2= <code>_vehicleBackpacks = [[everyBackpack]] [[vehicle]] [[player]];</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 18:31, 8 October 2013

Hover & click on the images for description

Description

Description:
Returns array of backpacks stored in given crate or vehicle. Used for accessing backpack content of a backpack on ground.
Groups:
Uncategorised

Syntax

Syntax:
everyBackpack box
Parameters:
box: Object
Return Value:
Array

Examples

Example 1:
everyBackpack cursorTarget;
Example 2:
_vehicleBackpacks = everyBackpack vehicle player;

Additional Information

See also:
firstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceFor

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