Home   Help Search Login Register  

Author Topic: how to delete a unit ingame?  (Read 502 times)

0 Members and 1 Guest are viewing this topic.

terrazasjs

  • Guest
how to delete a unit ingame?
« on: 03 Jun 2003, 01:57:46 »
I have a mission where i use a plane to transport paratroopers;how can i delete the plane after the waypoint is reached?do I need to create another waypoint for the plane and put something on the activation line to delete it? ??? if you know how to do this can you show me?and thank you for your time

gadolinite

  • Guest
Re:how to delete a unit ingame?
« Reply #1 on: 03 Jun 2003, 02:28:27 »
That is not hard to do.

If you want the unit to delete itself when he reaches the waypoint...

Put this in waypoint on activation for the waypoint:

 :-*deletevehicle 'nameofplane' :-*

Note this...
The pilot(s) will eject after the unit deletes itself.  If the plane deletes itself over water, the pilots will die.

If you want to delete the pilot(s)
'planename'D this deletes the driver of the plane, the name of the plane with a cap D in front of it, this goes for gunner, and there are titles for commander, probabley C
« Last Edit: 03 Jun 2003, 02:29:26 by gadolinite »

terrazasjs

  • Guest
Re:how to delete a unit ingame?
« Reply #2 on: 03 Jun 2003, 07:52:05 »
thank you works fine for the kind D of mission that i making ;D

gadolinite

  • Guest
Re:how to delete a unit ingame?
« Reply #3 on: 04 Jun 2003, 03:11:04 »
solve the issue, since I solved your problem