knepoMan 0 Posted June 25, 2004 Hi! When I make missions, I always use JamHD weapons for my enemies. What I want to know is, if it's possible to make a script that turns every magazin that me and my team mates pick up from the enemy into noHD? Hope someone could help me Knepo. Share this post Link to post Share on other sites
MrZig 0 Posted June 25, 2004 I don't know if giving them mags while they are dead is possible - but here's a try. Make a trigger with all your HD guys in it, activated  by them. put <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_X addeventhandler ["killed",{_this exec "killed.sqs"}]} foreach thislist In the on activation, now make a script: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ;;killed.sqs _unit = _this select 0 _unit removemagazines "Jamhdmag" ;Replace jamhdmag with the correct one _unit addmagazine "Jammag" _unit addmagazine "Jammag" _unit addmagazine "Jammag" _unit addmagazine "Jammag" ;Replace jammag with the correct one exit Share this post Link to post Share on other sites
@cero 0 Posted June 25, 2004 If that work you should have to make a script for every tipe of weapon, you don't want to try to pick a PK with AK mags lol. Its one of them questions I allways wanted to know the answer, so if it works I would like to know please The other thing is that if it don't work you could allways play with the AI skill and with the view distance and some other factors that can make the AI a really crappy shooter, so you will have non HD mags all the way, it will be the AI the one that won't be shooting well. If that's not enough try adding to the mix some invisible targets. They are included in the Tonal pack, but you can download other ones from somewhere ellse if you need to, I can't remember where I got them from, sorry. Regards. @CERO. Share this post Link to post Share on other sites