Jump to content

Recommended Posts

Trying to reduce ai damage for limited number of cup soldiers.

Tried using this in the ai's Init

this addEventHandler ["HandleDamage",{0.9}]; 

with no luck.

 

I want to make it tougher to kill a few select ai so as to use the surrender mod more effectively.

 

Thanks

Share this post


Link to post
Share on other sites
1 hour ago, fawlty said:

this addEventHandler ["HandleDamage"

 

Hello there fawlty !

 

Take a look here :

 

  • Like 1

Share this post


Link to post
Share on other sites

Hey George,

I appreciate the response but I have no idea what I should do with such a masterpiece :)

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you very much fawlty !

 

You need to add this in your initsever.sqf ( create one if you haven't ) and add the clasnames of the certain units that you want to apply the code.

  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks George,

 

I was really looking for something to toss into the ai's Init, quick and easy type of thing.

 

I did find this but it makes them just a little to tough.

 

this addEventHandler ["HandleDamage",{damage (_this select 0)+((_this select 2)/15)}];

 

Got a feeling if I play with those last numbers I may find success. 

 

Edit: 15 down to 10 is spot on,

Thanks again George

 

 

  • Like 2

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

×