addBackpackCargoGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 18: Line 18:
|p3= count: [[Number]]
|p3= count: [[Number]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[Magic Variables#this_2|this]] [[addBackpackCargoGlobal]] ["TK_RPG_Backpack_EP1", 2];</code>
|x1= <code>[[Magic Variables#this_2|this]] [[addBackpackCargoGlobal]] ["TK_RPG_Backpack_EP1", 2];</code>

Revision as of 10:13, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
MP Synchronized
Groups:
Containers

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object to add the Backpack to
packClassName: String, See the topic Category:Weapons for reference about possible values.
count: Number
Return Value:
Nothing

Examples

Example 1:
this addBackpackCargoGlobal ["TK_RPG_Backpack_EP1", 2];
Example 2:
_apc addBackpackCargoGlobal ["US_Patrol_Pack_EP1", 4];

Additional Information

See also:
backpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpackaddMagazineCargoclearMagazineCargoclearWeaponCargoaddMagazineCargoGlobaladdWeaponCargoaddWeaponCargoGlobaladdItemCargoaddItemCargoGlobal

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