Home   Help Search Login Register  

Author Topic: DeleteVehicle  (Read 491 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:

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 »

Offline 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.

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*