terox 316 Posted April 25, 2016 How to return the magazine class loaded into a Non currently selected muzzle on a units currently selected weapon Example Weapon "arifle_MX_GL_ACO_F" Selected muzzle is "arifle_MX_GL_ACO_F" Magazine loaded into this muzzle is returned using currentMagazine unit The other, non selected muzzle is "GL_3GL_F" I need to return the magazine class loaded into this secondary EGLM muzzle There doesn't seem to be a command in the comref to allow this nor a manipulation of arrays such as magazines unit or magazinesdetail that will allow me to return this information The reason I am wanting to do this is to create a simulation of a unit being hit in the hand and dropping the weapon instantly Then picking up the weapon from the ground and having it loaded exactly the same as when it was dropped. I can do all of this with the exception of the "Not currently selected muzzle" on multi muzzle weapons, such as EGLM based weapons Any help would be greatly appreciated Share this post Link to post Share on other sites
terox 316 Posted April 25, 2016 Solution found. I can use magazinesAmmoFull unit. this returns an array of all the magazines the unit has with various attributes, including the muzzle the magazine is in and whether the mag is loaded in a weapon Share this post Link to post Share on other sites
Larrow 2800 Posted April 25, 2016 Or use getUnitLoadout. _loadout = getUnitLoadout _unit; if ( count ( _loadout select 0 select 5 ) > 0 ) then { _mag = _loadout select 0 select 5 select 0; _ammoCount = _loadout select 0 select 5 select 1; }; Share this post Link to post Share on other sites