addBackpackCargoGlobal: Difference between revisions
Jump to navigation
Jump to search
(@Str: I guess it should be edited ;)) |
(command done) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|arma2oa|= | |||
| arma2oa|= | |||
|1.55|= | |1.55|= | ||
|arg= global|= | |arg= global|= | ||
|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 | |||
| | ___________________________________________________________________________________________ | ||
| vehicle '''addBackpackCargoGlobal''' [packClassName, count] |= | |||
|p1= vehicle: [[Object]] to add the Backpack to |= | |||
| | |p2= packClassName: [[String]], See the topic [[:Category:Weapons]] for reference about possible values.|= | ||
|p1= | |||
|p2= | |||
|p3= count: [[Number]]|= | |p3= count: [[Number]]|= | ||
| [[Nothing]]|= | | [[Nothing]]|= | ||
|mp= MP Synchronized|= | |mp= MP Synchronized|= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= <pre>this addBackpackCargoGlobal ["TK_RPG_Backpack_EP1",2];</pre> |= Example 1 | ||
|x2= <pre>_apc addBackpackCargoGlobal ["US_Patrol_Pack_EP1",4];</pre> |= Example 2 | |||
|x2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addMagazineCargo]], [[clearMagazineCargo]], [[clearWeaponCargo]], [[addMagazineCargoGlobal]] |= | |||
| [[addMagazineCargo]], [[clearMagazineCargo]], [[clearWeaponCargo]], [[addMagazineCargoGlobal | |||
}} | }} | ||
Revision as of 09:18, 9 December 2010
Description
- Description:
- Add backpack(s) to the cargo space of vehicle. 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
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