Lokai 10 Posted July 9, 2009 Hello everyone. Im having a problem with my AI in my mission going prone and become idiots. Its a beach assault map and many of them are behind barricades or bunkers and as soon as any gun shots start going off 90% of the AI soldiers guarding the beach go prone. That would be that big of a problem but they do not get back up ever and seem to lose all aggressiveness once they go prone. I see enemy soldiers walk by the prone soldiers and shoot them in the back and i've yet to see more than two try to shoot anyone while being prone in about 10 play tests. Is there anyway to force them to stay standing? Share this post Link to post Share on other sites
Lokai 10 Posted July 9, 2009 anyone? It doesn't have to make them stay standing necessarily it would just be nice if they didn't become so useless. Share this post Link to post Share on other sites
ProfTournesol 952 Posted July 9, 2009 Hi, biki is your friend Unit stance command Share this post Link to post Share on other sites
Alex72 0 Posted July 9, 2009 Like ProfTournesol linked. In your units INIT field just write: this setUnitPos "DOWN" Share this post Link to post Share on other sites
Carpaazi 0 Posted July 10, 2009 You want the soldiers at the beach to stay in standin position and not prone, right? Then write this to the units init field: this setunitpos "UP" If you want Everyone in the beach to stay in standing position, you can use a trigger that covers all the units, in triggers settings you choose faction present, condition = this, then write this to the triggers activation field: {_x setunitpos "UP"} foreach thislist Share this post Link to post Share on other sites
Lokai 10 Posted July 13, 2009 Thanks Carpaazi it would be very useful to be able to do them all at once instead of individually. Sorry but would you mind explaining what you mean by linking them to a trigger so it will apply to all of them? Share this post Link to post Share on other sites
Carpaazi 0 Posted July 13, 2009 you don't have to link anything to the trigger. Just make a trigger that is "big" enough, so it covers the area where the units are you want to stand -> then from triggers "activation" choose the side those units belong to, like BLUEFOR/OPFOR/INDEPENDENT/CIVILIAN -> Then on the triggers "condition" field (where it says "this"), write "TRUE" instead -> Triggers "on act" field you write {_x setunitpos "UP"} foreach thislist The code sniff out trough the trigger how many units there is, what side the belong (set in the trigger) and simply makes them all stand Share this post Link to post Share on other sites