SWEFIDDE 0 Posted March 1, 2008 How do i fores the AI to stand up when they are in a battle? becouse when the ai are in a rooftops and they se enmey they lay down and cant shot! like in a trigger opfor getpos "up" can some one plz help me! thx! Share this post Link to post Share on other sites
Rommel 2 Posted March 1, 2008 in the Ai's group leader put: E_grp1 = group this; {_x setunitpos "UP"} ForEach units E_grp1; Share this post Link to post Share on other sites
andersson 285 Posted March 1, 2008 Or just write this in the init-field of the unit <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setunitpos "UP" Share this post Link to post Share on other sites
johnnyboy 3797 Posted March 1, 2008 And use this if you want them to crouch: this setUnitPos "middle" Share this post Link to post Share on other sites
SWEFIDDE 0 Posted March 3, 2008 thank you guys for the answers! but do any of you now how ta make trigger whit setpos up.. for example when russian come in the trigger they cant lat down? Share this post Link to post Share on other sites
SWEFIDDE 0 Posted March 3, 2008 hi there every one!!! i have fixed the problem!! {_x setunitpos "UP"} ForEach thislist  if you put this in a trigger and in act field the ai cant lay down! Share this post Link to post Share on other sites