OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: westy159 on 18 Dec 2005, 00:06:41
-
Ok i want a AI man to get in the empty truck in back not as driver.
How do i do this?
Thankles
-
Script example:
unitName assignAsCargo vehicleName; [unitName] orderGetin true
To make him disembark, give this command:
[unitName] orderGetin false
or
unassignVehicle unitName
-
Could you not also have the vehicle designated as locked, then assignas the soldier to wherever you wanted him, and then order them to get in?
-
Locking vehicles only effects the player, not AI units