rellikki 7 Posted May 26, 2007 There is a command to check if the unit has a certain weapon, the hasWeapon-command, but how can I check if the unit has a certain type of magazine? Share this post Link to post Share on other sites
Platoon_Patton 0 Posted May 26, 2007 Search no longer,FIND it here  Share this post Link to post Share on other sites
VanhA 10 Posted February 3, 2009 This is interesting. Â I was cooking up an idea with OPFOR being friendly until player takes a magazine/weapon from a crate. Can I use this to launch <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Resistance setFriend [East , 0] to set behaviour change for the enemy? edit: OK , it said in BIKI that it needs to be activated both ways: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Resistance setFriend [East , 0]; East setFriend [Resistance ,0]; Share this post Link to post Share on other sites
OLO 10 Posted December 7, 2011 Any ideas how to check if cargo has a specific amount of magazines? Share this post Link to post Share on other sites
VictorFarbau 0 Posted December 13, 2011 It all starts here, the rest is regular code: http://community.bistudio.com/wiki/getMagazineCargo EDIT: Sorry - I ended up in the wrong forum, this command is only available as of ARMA2. If I remember correctly it was tough to impossible to achieve this in ARMA 1. Cheers, VictorFarbau Share this post Link to post Share on other sites