Jump to content
Sign in to follow this  
BoltboxerPro

AI get damaged but not die?

Recommended Posts

I was wondering if anyone knows a way so that your squad mates can gets damaged and go unconsious but not ever die? I'm making a campaign where the AI need to survive every mission with me. SO does anyone know init code to make that happen? this allowdamage false; will make them too Rambo. Thanks!

Share this post


Link to post
Share on other sites
I was wondering if anyone knows a way so that your squad mates can gets damaged and go unconsious but not ever die? I'm making a campaign where the AI need to survive every mission with me. SO does anyone know init code to make that happen? this allowdamage false; will make them too Rambo. Thanks!

I'm thinking of adding a similar thing to my missions. There are complicated ways of setting it so the unit can take no damage but then detecting bullet hits and make your on medical/damage model that never lets the unit die.

I cant do that and its very complicated the best thing I have found is it to have a script that launches on a units “death†removing them from your group and placing the “dead†body in an animation. Since they are kicked the second they get hit you never get a message saying they are dead and with a bit of custom sound this looks very good. Maybe not the simple answer you were hoping for but hope its helps.

If you want I can send you my script just PM me. (I also have it create an objective to Medevac the downed man).

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  

×