Jump to content
Sign in to follow this  
ZachNCheese

Starting Formation

Recommended Posts

How do I change the formation of units that start the mission "In Formation"? By default they are all in a "wedge", where I would like them to start in a "column".

Share this post


Link to post
Share on other sites

They will move to their first waypoint in whatever formation is set on that waypoint.

However, try this in the init line:

(group this) setFormation "LINE";

or

[group this,0] setWaypointFormation "LINE";

Share this post


Link to post
Share on other sites

If you don't want to use waypoints, use this:

http://community.bistudio.com/wiki/setFormation

In order for them to actually start in position, though, you will have to set them to "none" in the editor (rather than "in formation"), and set their positions manually so they are more or less in formation already, and thus they won't move much once the mission starts, and most importantly - will not start at where the default wedge formation places them (which may end up on a roof or in other bad spots if you don't pay attention, as the actual starting position isn't shown on the map when you set it to "in formation").

Share this post


Link to post
Share on other sites

I see, so I just need to bring up the unit menu and type in the script? Do I need to manually group them together?

Share this post


Link to post
Share on other sites

They need to be grouped to move in any kind of formation. If you want them to go into formation add the command in the init line of the unit. Keep in mind though I'm not sure how this command works with locality issues, so someone who joins the server later on and executes the init line again may mess it up, so you may want to do if (local this) then {group this setFormation "COLUMN"}; to prevent JIP players from changing the formation.

Share this post


Link to post
Share on other sites

Okay, understood, thank you for your help. I'll come back here if I have any more issues.

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  

×