Jump to content
Sign in to follow this  
Pillar_of_fire

What command to make AI "Take cover" & hide?

Recommended Posts

I'd like to place AI soldiers and tell them to open fire at an approximate range, but remain *in cover* and concealment both before and after opening fire.

My experience so far is that they are standing while defending a location, and not attempting to use cover. Also, after they open fire, they begin to run around and maneuver. I want them to get into good concealment & cover at "spawn in" and remain there, even after they start shooting.

Thanks

Share this post


Link to post
Share on other sites

you could put them there yourself and put:

dostopthis

OR

disableAI 'move'

into their init lines.

Share this post


Link to post
Share on other sites

I am trying to prevent unit from going prone, basically for the same reasons while in battle. i will try your init ideas Grimfist.

Pillar of Fire you can also put; this allowfleeing 0 -- stops unit from being scared or running if u needed to! and you can set unit position by; this setpos "UP"; "Middle" or "DOWN" -- Up being standing and down being prone.

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  

×