addBackpackCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
||
Line 19: | Line 19: | ||
{{Feature|arma3|In Arma 3, arguments for this command are local ({{Icon|localArgument|32}}). For global variant see [[addBackpackCargoGlobal]]}} | {{Feature|arma3|In Arma 3, arguments for this command are local ({{Icon|localArgument|32}}). For global variant see [[addBackpackCargoGlobal]]}} | ||
|vehicle [[addBackpackCargo]] [backpackClassName, count] | |s1= vehicle [[addBackpackCargo]] [backpackClassName, count] | ||
|p1= vehicle: [[Object]] - vehicle to add the backpack to | |p1= vehicle: [[Object]] - vehicle to add the backpack to |
Revision as of 22:45, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Containers
Syntax
- Syntax:
- vehicle addBackpackCargo [backpackClassName, count]
- Parameters:
- vehicle: Object - vehicle to add the backpack to
- [backpackClassName, count]: Array
- backpackClassName: String - backpack classname
- count: Number - number of backpacks to add.
- Return Value:
- Nothing
Examples
- Example 1:
this addBackpackCargo ["TK_RPG_Backpack_EP1", 2];
- Example 2:
_apc addBackpackCargo ["US_Patrol_Pack_EP1", 4];
Additional Information
- See also:
- backpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack
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