firstBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the first stored backpack. |DESCRIPTION=
| Returns the first stored backpack. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''firstBackpack''' box |SYNTAX=
| [[firstBackpack]] box |SYNTAX=


|p1= box: [[Object]]  |PARAMETER1=  
|p1= box: [[Object]]  |PARAMETER1=  
Line 16: Line 16:
| [[Object]] |RETURNVALUE=  
| [[Object]] |RETURNVALUE=  


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


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


Line 38: Line 34:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Containers|{{uc:{{PAGENAME}}}}]]

Revision as of 19:14, 25 November 2019

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