Jump to content
Sign in to follow this  
Lt_Phoenix

How do i stop ai units from going prone?

Recommended Posts

I've been making a mission where AI soldiers stand inside buldings, pointing their weapons outside the windows. Unfortunately they go prone as soon as they spot the enemy.

Is there a simple way I can stop this from happening?

Share this post


Link to post
Share on other sites

to get a single soldier to stand up, in his init line just type:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setUnitPos "UP";

to get a whole group to stand up, it's easiest to just go to the leader and type:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x setUnitPos "UP";} forEach units group this;

and if you ever want them to stay down, change "UP" to "DOWN"

and to get the AI to decide on their own (like normal), change it to "AUTO"

Share this post


Link to post
Share on other sites

i do i get them to kneel down and stay there ?

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  

×