OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Knut Erik 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:
-
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.
-
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.
-
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*