OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: taff_noble 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
-
deleteVehicle unit
Might work. Never seems to work for me though :P
-
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