OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: rhysduk on 29 May 2004, 12:18:35

Title: Grouping Units
Post by: rhysduk on 29 May 2004, 12:18:35
Hi,

I have a MP Mission where, well, all i want to know really is is there a way to ungroup units from a group ???

I cant find a suitale command in the COMREF for this, and i cant use F2 when playing a mission to ungroup them.

The group is created with F2 and not using the joinGroup command. (joinUnit or something)

Rhys
Title: Re:Grouping Units
Post by: Zombie on 29 May 2004, 13:00:47
your best bet is to de-pbo the mission then and ungroup them that way.  I have done this for a few mp missions made by others.  In case you don't know how:
in the editor select group
click and hold on 1 unit, drag the blue line off of him and drop it somewhere there is no other unit, continue until all are ungrouped, no blue lines connecting.  Be careful not to delete any snchronizations though
Title: Re:Grouping Units
Post by: macguba on 29 May 2004, 15:32:03
It is in the comref, though hard to find.

[loon1] join grpNull
Title: Re:Grouping Units
Post by: rhysduk on 29 May 2004, 23:04:10
Zombie: I dont quite understand ur response sorry. maybe i was unclear in my explanation of my problem. I want the units to be ungrouped from a unit when the mission is being played. Thus i cant dePBO the mission beoz im playing it :)

Macguba: Thank you.  ;)

Shall let u know of outcome :)

Rhys
Title: Re:Grouping Units
Post by: Zombie on 30 May 2004, 12:22:16
oh, ok.  Wel then I don't think it is possible to ungroup while playing, because to even use the joingroup command you have to be in the editor to execute the script.  I have never figured out how to call or write a script unless it was built in to the mission.  Scripts, triggers and even waypoints can be used to asign/unassign groupings.  The backspace while in mission can be used to assign units to different "teams" within the group, maybe that will suit your purpose?