Jump to content
Sign in to follow this  
BLSmith2112

Mimic soldier's marching. AI in ArmA don't like it

Recommended Posts

I'd like to create a scene in a movie where soldiers are marching. However, even when set to careless, they walk away from each other.

untitledkc7.jpg

When standing still, they can easily be made to stand together. However, to walk and stay in this very close formation seems to be impossible. How can one make the AI walk like this?

Share this post


Link to post
Share on other sites

I would think you'de have to write script that checked the Pos and Dir of each unit in relation to one another. You would really really have to want that movie. Unless there is a command I dont know about.

Share this post


Link to post
Share on other sites

I'd suggest to disableAI then use maybe the playMove

in a loop to make them walk and nothing else...there is a animation

viewer somewhere to make life easier.

Share this post


Link to post
Share on other sites

thought I'd try this out and it works well....

in the editor put this line in a trigger.....I assume you can setup a trigger

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x playMove "AmovPercMwlkSlowWrflDf"}foreach thislist

place your units in the trigger with this line in there init

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this disableAI "TARGET";this disableAI "AUTOTARGET";this disableAI "MOVE";this disableAI "ANIM"

Share this post


Link to post
Share on other sites

Look through the animation viewer and see if there is an animation for this. I don't think there is in arma, but I could be wrong.

If there isnt, be sure and let us know. someone may come up with a clever solution to the problem.

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  

×