You can place an AI infantry group and place this code in the team leader's init -
grp1 = group this;{_x setunitPos "UP"} foreach units grp1;{_x setBehaviour "COMBAT"} foreach units grp1;
For many infantry groups name them as grp2, grp3, grp4.....etc. and use same code written as above.
I know the last post on this topic is 2 years old, but if someone would be able to explain that a bit further i would be very thankfull. I spent the last night trying to get my units to keep standing, but i just dont know where to put the quoted command line. Also, i have not found a way to set a trigger to 'on Activation'. The reason for that could however be that this type of command doesnt exist in the current version of the game, or i just am blind. So, where is the team leaders init? Where do i put the command line?
How do i stop AI from going prone?
in ARMA 2 & OA : MISSIONS - Editing & Scripting
Posted
I know the last post on this topic is 2 years old, but if someone would be able to explain that a bit further i would be very thankfull. I spent the last night trying to get my units to keep standing, but i just dont know where to put the quoted command line. Also, i have not found a way to set a trigger to 'on Activation'. The reason for that could however be that this type of command doesnt exist in the current version of the game, or i just am blind. So, where is the team leaders init? Where do i put the command line?