firstBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also & remove the note by LongEnoughName which was solved by using everyback)
(added example)
Line 17: Line 17:




|x1= <code>
|x1= <code>myVariable = firstBackpack myBox;
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  



Revision as of 23:45, 5 May 2015

Hover & click on the images for description

Description

Description:
Returns the first stored backpack.
Groups:
Uncategorised

Syntax

Syntax:
firstBackpack box
Parameters:
box: Object
Return Value:
Object

Examples

Example 1:
myVariable = firstBackpack myBox;

Additional Information

See also:
backpackContainerunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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