Home   Help Search Login Register  

Author Topic: Ungrouping  (Read 501 times)

0 Members and 1 Guest are viewing this topic.

BrAinOfJ

  • Guest
Ungrouping
« on: 03 May 2003, 16:02:17 »
How do i ungroup a unit ?
or, how do i start units "in cargo" without having them grouped to the vechicle
eg. a group of soldiers start the mission in an apc. the apc arrives at its "unload" waypoint, and the units get out. Then i want the soldier group to move on without the apc.

_hammy_

  • Guest
Re:Ungrouping
« Reply #1 on: 03 May 2003, 17:04:45 »
to make a unit not in a group, select groups (i believe its F2) and left click on the unit you want to be "ungrouped" and drag the little line thing so its not over a unit, then letgo of the left mouse button.

jojojoni

  • Guest
Re:Ungrouping
« Reply #2 on: 03 May 2003, 17:09:26 »
You can start units in cargo of any vehicle without having them grouped to it. Write this in their init's field:

unitname moveincargo vehiclename

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Ungrouping
« Reply #3 on: 03 May 2003, 17:36:22 »
 Hey m8  :D here's how ya throw a pack of morons into the trunk of some vehicle :thumbsup:


If it's a group, and the vehicle is NOT part of this group, simply put the following in the INIT field of one group member ( I use the team leader but ya don't have 2 ) :


Grp1=Units Group This; "_x moveinCargo Truck1" foreach Grp1


There!  :-*

And to kick 'em out:

"[_x] orderGetin false" foreach Grp1

or alike.


BrAinOfJ

  • Guest
Re:Ungrouping
« Reply #4 on: 03 May 2003, 17:45:08 »
ok, they both sound good, the bottom 1 sounds like less work.

i assume "grp1" is the name of the group... how do i name a group ?

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Ungrouping
« Reply #5 on: 03 May 2003, 17:53:12 »

I just told ya how!  :D the INIT field of any moron in the group (init = "initialisation" )


morons = units group this


that's the INIT code to name a group!

And then to tell the grp to do whatever:

"_x setdammage 0.99" foreach morons


simple as that, m8  :-* 8)