firstBackpack: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the first stored backpack. | | Returns the first stored backpack. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[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
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