Home   Help Search Login Register  

Author Topic: MoveIncargo after respawn  (Read 460 times)

0 Members and 1 Guest are viewing this topic.

PuH

  • Guest
MoveIncargo after respawn
« on: 29 Jan 2004, 16:24:49 »
hi...

Im having a problem in one of my scripts:

i have a squad w. a APC in it and when the soldiers die i want the to respawn in to a chopper (MoveInCargo), but when as soon the soldiers gets in the chopper they auto ejects, players to. i figured it has some thing with the fact that they are assigned to the APC by the commander (AI).

So does anyone know how to do this?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:MoveIncargo after respawn
« Reply #1 on: 29 Jan 2004, 19:14:27 »
If their vehicle assignments are the reason, then it should be just a simple case of  assinging him a new vehicle.

UnassignVehicle UnitName

UnitName AssignAsCargo VehicleName