firstBackpack: Difference between revisions
Jump to navigation
Jump to search
(see also & remove the note by LongEnoughName which was solved by using everyback) |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(51 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 0.50 | |||
| | |gr1= Containers | ||
| Returns the first stored backpack. | |descr= Returns the first stored backpack. | ||
| | |s1= [[firstBackpack]] box | ||
|p1= box: [[Object]] | |p1= box: [[Object]] | ||
| [[Object]] | |r1= [[Object]] | ||
|x1= <sqf>myVariable = firstBackpack myBox;</sqf> | |||
| | |seealso= [[backpackContainer]] [[unitBackpack]] [[backpack]] [[backpackCargo]] [[getBackpackCargo]] [[backpackItems]] [[addBackpack]] [[addBackpackCargo]] [[addBackpackCargoGlobal]] [[removeBackpack]] [[clearBackpackCargo]] [[clearBackpackCargoGlobal]] [[clearAllItemsFromBackpack]] [[loadBackpack]] [[backpackSpaceFor]] [[canAddItemToBackpack]] [[addItemToBackpack]] [[removeItemFromBackpack]] [[everyBackpack]] | ||
}} | }} | ||
Latest revision as of 10:22, 13 May 2022
Description
- Description:
- Returns the first stored backpack.
- Groups:
- Containers
Syntax
- Syntax:
- firstBackpack box
- Parameters:
- box: Object
- Return Value:
- Object
Examples
- Example 1:
Additional Information
- See also:
- backpackContainer unitBackpack backpack backpackCargo getBackpackCargo backpackItems addBackpack addBackpackCargo addBackpackCargoGlobal removeBackpack clearBackpackCargo clearBackpackCargoGlobal clearAllItemsFromBackpack loadBackpack backpackSpaceFor canAddItemToBackpack addItemToBackpack removeItemFromBackpack everyBackpack
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