Jump to content
Sign in to follow this  
Cowburn199

[Noob] Squad question

Recommended Posts

Hi, i'm a total noob to ArmA mission editing and need the answer to possibly the easiest question on this board!

If I place down several BLUFOR riflemen (just an example) I know how to change it so they're not in formation but when I click preview, i'm the squad leader and they all fall back into formation!

So how do I make it so that i'm not the squad leader and they will stay where I placed them?

Thanks a lot smile_o.gif

Share this post


Link to post
Share on other sites

In your "insert unit" dialog/box

The third box "Special" set it to "none"

Share this post


Link to post
Share on other sites

Hello The Taurus, this is what I have been doing but it still doesn't work. When I click preview I am still a squad leader. They don't start in formation but then they all form up automatically.

I would like it so that I am not a squad leader and they do not form up into formation.

Share this post


Link to post
Share on other sites

No, they'll still fall in after start if they are all in a squad. The only two ways of doing this are (without scripting):

#1 Using the "Groups" selector in the editor, click each unit and drag the "Team" connector to free space in the map. This will disconnect the soldier from the squad. Under the soldier's properties, if you select "Locked" rather than "default" or "unlocked" the soldier will stay in position (for the most part).

#2 More reliable: Memorize the command to tell your soldiers to halt. A shortcut of keys would be (if I'm not mistaken) " ~ , 1, 6" without the brackets. You can do that just as the map is finished loading and you're about to start playing.

If you really want to make the soldiers not move, in the properties for the soldier, you could give the soldier a name, then type in his init field <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">MySoldiersName disableAi move

He shouldn't move anywhere but then I think he just stands there...

Share this post


Link to post
Share on other sites

Thanks for the reply. I guess i'll just have to do the 1~6 tip. The reason I wanted to ask this question was because I am planning to create a roadblock and each time I did it they'd all form back up! tounge2.gif

Share this post


Link to post
Share on other sites
No, they'll still fall in after start if they are all in a squad. The only two ways of doing this are (without scripting):

#1 Using the "Groups" selector in the editor, click each unit and drag the "Team" connector to free space in the map. This will disconnect the soldier from the squad. Under the soldier's properties, if you select "Locked" rather than "default" or "unlocked" the soldier will stay in position (for the most part).

#2 More reliable: Memorize the command to tell your soldiers to halt. A shortcut of keys would be (if I'm not mistaken)      " ~ , 1, 6" without the brackets. You can do that just as the map is finished loading and you're about to start playing.

If you really want to make the soldiers not move, in the properties for the soldier, you could give the soldier a name, then type in his init field <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">MySoldiersName disableAi move

He shouldn't move anywhere but then I think he just stands there...

You know, the lock property only refers to vehicles; wether or not you can get in them. Changing it doesn't cause AI infantry to behave any differently. Also, all you need to do to keep a unit from keeping formation at the start of a mission (though not stopping them from engaging and stuff during combat) is with doStop:

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

Type that in the unit's init field and he will not return to formation.  wink_o.gif It also keeps them from following their WP plans (since that requires them to be in formation).

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  

×