Jump to content
Sign in to follow this  
knepoMan

Turn HDmag into noHDmag

Recommended Posts

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

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

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 biggrin_o.gif lol.

Its one of them questions I allways wanted to know the answer, so if it works I would like to know please biggrin_o.gif

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×