addBackpackCargoGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(command done)
mNo edit summary
Line 6: Line 6:
|eff= global|=
|eff= global|=
____________________________________________________________________________________________
____________________________________________________________________________________________
|  Add backpack(s) to the cargo space of vehicle. Classname list of available backpacks is [[ArmA 2 OA: Backpacks|here]] |= Description
 
|  Add backpack(s) to the cargo space of vehicle. MP synchronized. Classname list of available backpacks is [[ArmA 2 OA: Backpacks|here]] |= Description
___________________________________________________________________________________________
___________________________________________________________________________________________
| vehicle '''addBackpackCargoGlobal'''  [packClassName, count] |=
| vehicle '''addBackpackCargoGlobal'''  [packClassName, count] |=
|p1= vehicle: [[Object]] to add the Backpack to |=
|p1= vehicle: [[Object]] to add the Backpack to |=
|p2= packClassName: [[String]],  See the topic [[:Category:Weapons]] for reference about possible values.|=
|p2= packClassName: [[String]],  See the topic [[:Category:Weapons]] for reference about possible values.|=
|p3= count: [[Number]]|=
|p3= count: [[Number]]|=
| [[Nothing]]|=
| [[Nothing]]|=
|mp= MP Synchronized|=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 22:
|x2= <pre>_apc addBackpackCargoGlobal ["US_Patrol_Pack_EP1",4];</pre> |= Example 2
|x2= <pre>_apc addBackpackCargoGlobal ["US_Patrol_Pack_EP1",4];</pre> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[addMagazineCargo]], [[clearMagazineCargo]], [[clearWeaponCargo]], [[addMagazineCargoGlobal]] |=
 
|mp= MP Synchronized|=
 
| [[addBackpackCargo]], [[addMagazineCargo]], [[clearMagazineCargo]], [[clearWeaponCargo]], [[addMagazineCargoGlobal]] |=
}}
}}


Line 30: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 14:36, 7 July 2011

Hover & click on the images for description

Description

Description:
Add backpack(s) to the cargo space of vehicle. MP synchronized. Classname list of available backpacks is here
Multiplayer:
MP Synchronized
Groups:
Uncategorised

Syntax

Syntax:
vehicle addBackpackCargoGlobal [packClassName, count]
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:
addBackpackCargoaddMagazineCargoclearMagazineCargoclearWeaponCargoaddMagazineCargoGlobal

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

Notes

Bottom Section