fawlty 27 Posted August 30, 2019 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
GEORGE FLOROS GR 4206 Posted August 30, 2019 1 hour ago, fawlty said: this addEventHandler ["HandleDamage" Hello there fawlty ! Take a look here : 1 Share this post Link to post Share on other sites
fawlty 27 Posted August 30, 2019 Hey George, I appreciate the response but I have no idea what I should do with such a masterpiece :) 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted August 30, 2019 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. 1 Share this post Link to post Share on other sites
fawlty 27 Posted August 30, 2019 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 2 Share this post Link to post Share on other sites