Home   Help Search Login Register  

Author Topic: how do i delete units and group connections once ive placed them?  (Read 1280 times)

0 Members and 1 Guest are viewing this topic.

British_Steel

  • Guest
how do i delete units and group connections once ive placed them?

i really dont know, i can get the hang of most of the map editer, exept deleting stuff like units and groupings

please help

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Say a unit is called east1 you can delete it by:

deleteVehcile east1

If you have a group called Grpname (put Grpname = group this in the init field of one of the units in the group)

Then delete all the units of the group by:

{deleteVehicle _x} forEach units Grpname

To remove a unit called east1 from a group:

east1 join GrpNull
« Last Edit: 29 Sep 2005, 23:01:32 by THobson »

British_Steel

  • Guest
where do you type it?
« Last Edit: 29 Sep 2005, 23:08:38 by British_Steel »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
You can put it in the activation field of a trigger, you can put it in the activation field of a waypoint or you could put it in a script.

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Is it just me, or do you want to know something more simple British_Steel? :)

To remove the blue lines, select group mode (F2) and drag the blue line of any grouped unit into nowhere to ungroup them.

To delete units move the mouse over them and press delete on the keyboard.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
In the Mission Editor:

To ungroup a unit from his group, click on Groups (F2?) and drag and drop a blue line from him into nowhere space.

To delete a unit, put the mouse pointer on top of it and press the Delete key on your keyboard.

To delete a whole bunch of units, drag and drop around them to select them, then press the Ctrl and x keys together.

THobsons answers are correct if you want these things to happen in the middle of a mission.

Head over to the Editors Depot (link at the top of this page) and macguba's guide to mission editing for beginners.    And some of the other tutorials in the Getting Started section.   ;)

Oh, and

Welcome to the forum!


*sigh* too slow again.
« Last Edit: 29 Sep 2005, 23:48:22 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
To delete a whole bunch of units, drag and drop around them to select them, then press the Ctrl and x keys together.

technically, what that is doing is "cutting" them which means if you hit ctrl + v they'll be back again

if you want to ungroup units via a trigger or script etc. use:
[unit1,unit2,unit3,etc] join grpnull
and now those units have broken off of their existing groups to make a new one

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
This reminds me of a conversation I had the other day with one of my daughters.  She has just started driving lessons.  I asked if she was practicing three point turns and reversing round corners.  She said err.. no... I am practicing starting the engine, turning left and turning right!  

Re-reading the question I see that Trapper you are right.  I have forgotten how undocumented the mission editor is.
« Last Edit: 30 Sep 2005, 09:10:35 by THobson »