setVehicleAmmoDef: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format, see also) |
Killzone Kid (talk | contribs) (locality, description note, see also) |
||
Line 5: | Line 5: | ||
|0.50|= Game version | |0.50|= Game version | ||
|arg= local |= Arguments in MP | |||
|eff= global |= Effects in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets how much ammunition (compared to the current configuration of magazines, but fully loaded) the vehicle has. |= Description | | Sets how much ammunition (compared to the current configuration of magazines, but fully loaded) the vehicle has. Note that the ammo will beaddet only to [[local]] turrets. To check the locality of turret use [[turretLocal]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 27: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setVehicleAmmo]], [[ammo]], [[setAmmo]], [[setAmmoCargo]] |= SEEALSO | | [[setVehicleAmmo]], [[ammo]], [[setAmmo]], [[setAmmoCargo]], [[turretLocal]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 20:08, 26 September 2014
Description
- Description:
- Sets how much ammunition (compared to the current configuration of magazines, but fully loaded) the vehicle has. Note that the ammo will beaddet only to local turrets. To check the locality of turret use turretLocal.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit setVehicleAmmoDef value
- Parameters:
- unit: Object - Unit or vehicle.
- value: Number - From 0 (no ammo) to 1 (fully loaded).
- Return Value:
- Nothing
Examples
- Example 1:
player setVehicleAmmoDef 0;
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