magazines
Jump to navigation
Jump to search
Description
- Description:
- Returns array of type names of all a vehicles (soldier unit is also a vehicle) magazines.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_mags = magazines player
Additional Information
- See also:
- ammo
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
- Ceeeb
- In OFP v1.96, if a weapon is loaded with an empty magazine, that magazine will still be counted by this command. The ammo command can be used to check if a unit has any ammunition in it's last magazine.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.75
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Command Group: Weapons
- Command Group: Object Information
- Scripting Commands VBS2