setAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(add. ArmA2 classification) |
||
Line 37: | Line 37: | ||
[[Category:Scripting Commands ArmA|SETAMMOCARGO]] | [[Category:Scripting Commands ArmA|SETAMMOCARGO]] | ||
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] |
Revision as of 17:18, 3 June 2009
Description
- Description:
- Set amount of ammo resources in cargo space of a rearm vehicle. Ammo resource is used to resupply vehicles that take ammo. Soldiers use individual magazines instead. Amount: 1 is full cargo. The actual quantity to work with is determined by the model's class in CfgVehicles
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicleName setAmmoCargo ammoCargo
- Parameters:
- vehicleName: Object
- ammoCargo: Number
- Return Value:
- Nothing
Examples
- Example 1:
- _ammoTruck1 setAmmoCargo 0.5
Additional Information
- See also:
- See also needed
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Weapons
- Scripting Commands ArmA2