Jump to content
Sign in to follow this  
olearych

Unit grouping

Recommended Posts

Hi guys,

Just a quick question, couldn't find the answer in search.

How do i stop a unit I am grouped to, starting next to me?

Example.

I'm a Forward Air Controller in a town, and I have an AH-1Z at an airport waiting for my orders.  When i place the AH-1Z on the runway and myself in a town, the AH-1Z is always hovering above me.

Hope you understand ^^ thanks in advanced.

Share this post


Link to post
Share on other sites

Select Groups (F2) in the editor, left click & hold on either the player or the chopper, drag the cursor to an empty space on the map and release the left mouse button. The blue line between the two units should disappear, indicating that they are no longer grouped.

Edit: Oh, my bad, you want to know how to make a grouped unit start out of formation. Well in the chopper's special field, change "IN FORMATION" or "FLYING" to "NONE". Unfortunately, selecting "FLYING" automatically puts them in formation too, unlike OFP.

Share this post


Link to post
Share on other sites

Thanks but I still need to be able to give the AH-Z1 orders, ungrouping will mean i no longer control the AH-Z1.

Share this post


Link to post
Share on other sites

In the AH-1's unit settings in the editor there are a few "Special" options.

In Formation

Flying

None

None is what you want I think. Although when you start out they will be in "follow" mode so they will quickly move to formation if they can.

To have a unit start with a "Stop" order, you can have the following code in the initialization field for the unit:

doStop this;

To have all group members (except leader) have a "Stop" order at the beginning, you can use the following code in the init field of the group leader.

{doStop _x}forEach units group this; this doFollow this;

Share this post


Link to post
Share on other sites

Wow thanks for the fast response guys. Works perfectly now!

Many thanks again!

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  

×