Jump to content
Sign in to follow this  
Mercutio

NEED TO KEEP A UNIT ALIVE

Recommended Posts

Hey,

Working on a mission where players have to rearm at an ammo truck during a battle, but how do I make it so enemy units DON'T attack the truck? I tried using a repeating trigger and "ammotruck setdammage 0", problem with that is the truck regenerates but the driver dies. And anyway, I'd prefer to not see the truck get lit up like a Christmas tree and then suddenly look fine. Just need to know how make the enemy not attack the truck. Any ideas? Thanks in advance.

Share this post


Link to post
Share on other sites

I really don't know if this work's with NON AI unit's but give it a try:

in the truck's init field type: this setcaptive true

I know for sure it work's with AI unit's though...

P.S why should the ammo truck stay alive???

If I were a enemy soldier that would be one of my first target's...

Share this post


Link to post
Share on other sites

Didn't think of that. I'll give that a try right now. BTW, the truck just needs to stay alive so the players (who have almost no ammo) can get some, then I don't care what happens to the truck. Thanks a lot 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  

×