Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: MoveIncargo after respawn  (Read 631 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