Jump to content
Sign in to follow this  
heywheresmysnack

Forcing troops to use cover

Recommended Posts

I created a scenario where I want the soldiers in a particular group to use cover I have set up in the form of sandbags. However, they always run around them and lay down in front of the sandbags. Is there anyway to have them avoid this behavior and react in a more realistic manner?

Share this post


Link to post
Share on other sites

You can use setunitpos to lock them in certain poisitions:

this setunitpos "UP"
this setunitpos "MIDDLE"
this setunitpos "DOWN"

And also stop them moving using:

this disableAI "MOVE"

I find in ArmA2 the AI are pretty good at taking cover anyway, just stick them in "combat" behaviour using a waypoint near the sandbags and they should take cover of their own accord.

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  

×