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
) »
DeleteVehicle
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: DeleteVehicle (Read 490 times)
0 Members and 1 Guest are viewing this topic.
Knut Erik
Guest
DeleteVehicle
«
on:
29 Apr 2003, 18:50:18 »
Okay, I have this mission with a BIG base with a LOT of tents. I want to delete the tents when you gets to your first objective to prevent lag when the attack comes.
I have a trigger.
Condicion : Delete
On activation : "DeleteVehicle _x" foreach thislist
The trigger coveres all the tents, and I put Delete=True when I arrives to the objective. However the tents arn't disapairing. What am i doing wrong? Do I have to name all the tents and delete them in an array?
Please help :help:
Logged
Iwesshome
Guest
Re:DeleteVehicle
«
Reply #1 on:
29 Apr 2003, 18:52:25 »
I believe you do unless you can group the tents... that sucks
Give us some more info... are you naming the tents? Grouping the tents? That code looks like for groups only.
«
Last Edit: 29 Apr 2003, 19:03:34 by IW
»
Logged
Black_Feather
Former Staff
I'll never forget you Daisey.
Re:DeleteVehicle
«
Reply #2 on:
29 Apr 2003, 19:02:27 »
If you set the activated by east, west, anybody thing to anybody it will delete all the units but not empty objects like tents and fortifications so just name them, or give them a side.
Logged
Knut Erik
Guest
Re:DeleteVehicle
«
Reply #3 on:
30 Apr 2003, 07:39:49 »
Ah, shit! Do I have to name all of the tents?
It is going to take me at least one hour!!
Well, I guess it is nothing to do about it.
Tanks a LOT to Black_Feather and Iwesshome for helping me.
*Topic solved and locked*
Logged
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
) »
DeleteVehicle
Top of page