Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
spawning
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: spawning (Read 461 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
Logged
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
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
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
Logged
Not all is lost.
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
spawning
Top of page