krycek 349 Posted February 26, 2007 Hey guys,could someone tell me if there is a way to increase the armor value of a soldier?Perhaps a script or something that goes in the init? I want my soldiers to survive a little longer in a tough battle. Share this post Link to post Share on other sites
Big Dawg KS 6 Posted February 26, 2007 Not with a script no. You need to edit the config. Share this post Link to post Share on other sites
Asuriel 0 Posted February 26, 2007 use eventhandlers. either add <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this addEventHandler ["dammaged", {(_this select 0) setdammage (getdammage (_this select 0) - ((_this select 2)*0.95)); hint format ["%1,%2,%3", (_this select 2), (_this select 2)*0.95, getdammage (_this select 0)]}] in all the units ini lines or you use a trigger which is as larger than the map set to "on east/west present" and "on activation" <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> {_x addEventHandler ["dammaged", {(_this select 0) setdammage (getdammage (_this select 0) - ((_this select 2)*0.95)); hint format ["%1,%2,%3", (_this select 2), (_this select 2)*0.95, getdammage (_this select 0)]}]} foreach thislist kinda works. it won't if the unit is hit too fast with several rounds. Share this post Link to post Share on other sites