addBackpackCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
||
Line 23: | Line 23: | ||
|p4= count: [[Number]] - number of backpacks to add. | |p4= count: [[Number]] - number of backpacks to add. | ||
| [[Nothing]] | |r1=[[Nothing]] | ||
|x1= <code>[[Magic Variables#this_2|this]] [[addBackpackCargo]] ["TK_RPG_Backpack_EP1", 2];</code> | |x1= <code>[[Magic Variables#this_2|this]] [[addBackpackCargo]] ["TK_RPG_Backpack_EP1", 2];</code> |
Revision as of 21:13, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Containers
Syntax
- Syntax:
- Syntax needed
- 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