addWeaponCargoGlobal

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.55
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.55

Description

Description:
Add weapons to the cargo space of vehicles, which can be taken out by infantry units. MP Synchronized

Syntax

Syntax:
vehicleName addWeaponCargoGlobal [weaponName, count]
Parameters:
vehicleName: Object - vehicle to add the weapons to
[weaponName, count]: Array
weaponName: String - weapon name. See the topic Category:Weapons for reference about possible values.
count: Number - number of weapons to add.
Return Value:
Nothing

Examples

Example 1:
_truck addWeaponCargoGlobal["M16",5];

Additional Information

Multiplayer:
-
See also:
addMagazineCargoclearMagazineCargoclearWeaponCargoaddMagazineCargoGlobaladdBackpackCargoaddBackpackCargoGlobaladdItemCargoaddItemCargoGlobal

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Posted on November 7, 2011 - 11:02 (CET)
Bon_Inf*
Synchronized to JIP as well.

Bottom Section