Home   Help Search Login Register  

Author Topic: spawning  (Read 466 times)

0 Members and 1 Guest are viewing this topic.

taff_noble

  • Guest
spawning
« on: 20 Jul 2004, 21:16:57 »
hi im making a mission were i want units to spawn when i activate a trigger which i know is possible but i was wondering if it is possible to remove these units when im no longer present in the area

j-man

  • Guest
Re:spawning
« Reply #1 on: 20 Jul 2004, 21:26:09 »
Code: [Select]
deleteVehicle unit
Might work. Never seems to work for me though :P

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:spawning
« Reply #2 on: 20 Jul 2004, 21:46:00 »
When you're spawning you name the group or individual units. When you want to get rid of them, just use
"deletevehicle _x" foreach units groupname for whole group or
deletevehicle unitname for individuals
Not all is lost.