Home   Help Search Login Register  

Author Topic: How to delete all units in trigger?  (Read 662 times)

0 Members and 2 Guests are viewing this topic.

edeniaz

  • Guest
How to delete all units in trigger?
« on: 20 Sep 2004, 01:53:57 »
Yep. I wanna delete all units (West, East and anybody) in range of a trigger. units doesn't have a name.

I just tried "_x deleteVehicle" forEach thislist but it wasn't work.

Someone help me?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:How to delete all units in trigger?
« Reply #1 on: 20 Sep 2004, 02:01:59 »
Hmmmm........how about:

"_x deleteVehicle" forEach units thislist

or something similar.

Just a guess.



Planck
« Last Edit: 20 Sep 2004, 02:06:40 by Planck »
I know a little about a lot, and a lot about a little.

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:How to delete all units in trigger?
« Reply #2 on: 20 Sep 2004, 03:41:30 »
This will do it:
Code: [Select]
{deleteVehicle _x} forEach thislist(And is equivalent to)
Code: [Select]
"deleteVehicle _x" forEach thislist
« Last Edit: 20 Sep 2004, 03:42:24 by Killswitch »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:How to delete all units in trigger?
« Reply #3 on: 20 Sep 2004, 11:05:08 »
remember to set the triggers activation to anybody present..
Not all is lost.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to delete all units in trigger?
« Reply #4 on: 20 Sep 2004, 11:30:11 »
And remember, when a command doesn't work, to check the syntax in the comref.    ;)
Plenty of reviewed ArmA missions for you to play