primaryWeaponMagazine unitName
Operand types
Type of returned value
Description
Returns either single element array, containing class name of currently loaded in the primary weapon magazine, or an empty array if unit has no primary weapon or primary weapon is not loaded.
This command is used for infantry weapons only.
Used In
Arma3
Example
primaryWeaponMagazine player;
- Select Game -
List All
Arma3 Only
Arma2:OA Only
Arma2 Only
ArmA Only
Elite
Original OFP
- Select Group -
objects
units
groups
vehicles
weapons
arrays
items
backpacks
buldozer
mines
uniforms
vests
tasks
locations
artillery
configs
UAVs
briefings
mission flow
sites
map
draw
leaderboards
markers
environment
game
dialogs
displays
namespaces
radio
channels
FSM
diagnostics
firing from vehicles
slingload
advanced flight model
DLC
weapon stabilization
suppression
waypoints
cutscenes
sound
mathematics
variables
script commands
multiplayer
Zeus
3D editor
3D draw