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