addWeaponCargoGlobal

From BISim Wiki
Jump to: navigation, search


Introduced in vbs2 version 2.00

Arguments don't have to be local to the executing client.Effects are broadcast over the network, and are executed on every connected client.

Hover over or click the images for descriptions.


Introduced in

Version:2.00

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

Examples:
_truck addWeaponCargoGlobal["M16",5];

Additional Information

See also: addMagazineCargo, clearMagazineCargo, clearWeaponCargo, addMagazineCargoGlobal addBackpackCargoGlobal
Multiplayer: 
Problems: 

Notes

Only post proven facts here. Use the talk page or the forums for discussions.



Notes

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

Bottom Section

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox