afp 1 Posted July 10, 2009 How to remove the magazine from current weapon, so it will be empty? How to refill a full magazine back? (not with reload animation but silent). Thank you. Share this post Link to post Share on other sites
Big Dawg KS 6 Posted July 10, 2009 The only way to empty it will be to remove all the magazines: this removeMagazines (currentMagazine this) But to reload (silently as you said) you can remove the weapon then add it back. This will load the weapon with a full magazine IF the unit has one, otherwise it will use the magazine with the highest remaining ammo. If you want to make sure a full magazine is loaded, add a new one. this addMagazine (currentMagazine this); weap = currentWeapon this; this removeWeapon weap; this addWeapon weap Share this post Link to post Share on other sites
afp 1 Posted July 11, 2009 I just want to make a small script for ArmA1 when the user press a key, play reload sound then reload magazine of a weapon, without reload animation. During this process, of course, player can't fire. Since removing all magazines is not a good option, plus player could press gear this time, is there a better way to prevent fire during those seconds? Mark in a global variable that the player started reloading and detect it on fire button? Mark the weapon jammed or damaged? Or save the array of magazines before, remove all and put them back? What would you do? Share this post Link to post Share on other sites
Big Dawg KS 6 Posted July 13, 2009 You could try disableUserInput: disableUserInput true However this will disable ALL input (which can be bad if you forget to renable it). Other than that though there's no easy way to prevent the player from using default controls. Share this post Link to post Share on other sites
afp 1 Posted July 14, 2009 (edited) Nah, the point is that I still want to move around while reloading :) That would defeat my purpose. Tho the problem looks simple, I think its quite tricky. PS I think I found something, the answer could be LoadEmptyMagazine action. Edited July 14, 2009 by afp Share this post Link to post Share on other sites
afp 1 Posted July 15, 2009 Solved it, check here: http://forums.bistudio.com/showthread.php?t=79919 Share this post Link to post Share on other sites