Stewy 1 Posted March 8, 2009 Hi guys, Sorry for the dumb question - I was just wondering, is it possible to make an AI character medic (ie, power to heal) with an init line? I know it can be done in the cfg, but just wanted to ask Cheers guys Stew Share this post Link to post Share on other sites
Rav_Raven 8 Posted March 8, 2009 I think that the cpp of the unit there should be a line: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">attendant = true; With scripts you can run this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soldierOne action ["heal", medicOne]; sleep 3; soldierOne setdamage 0; Share this post Link to post Share on other sites