firstBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(see also & remove the note by LongEnoughName which was solved by using everyback)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[backpackContainer]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 31: Line 31:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on September 6, 2013 - 23:57
<dt class="note">'''[[User:LongEnoughName|LongEnoughName]]'''<dd class="note">
Unfortunately as of 0.77 there is no way to return all backpacks off container, only first one. [[backpackCargo]] returns list of classes and not objects. Please support the ticket requesting a command to return all backpack objects: <nowiki>http://feedback.arma3.com/view.php?id=5414</nowiki>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 08:30, 29 April 2014

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:

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