Home   Help Search Login Register  

Author Topic: Boarding Vehicles With Certain Positions  (Read 816 times)

0 Members and 1 Guest are viewing this topic.

Offline westy159

  • Members
  • *
Boarding Vehicles With Certain Positions
« 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
« Last Edit: 18 Dec 2005, 00:28:23 by westy159 »

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Boarding Vehicles With Certain Positions
« Reply #1 on: 18 Dec 2005, 01:27:38 »
Script example:

Code: [Select]
unitName assignAsCargo vehicleName; [unitName] orderGetin true
To make him disembark, give this command:

Code: [Select]
[unitName] orderGetin false
or

Code: [Select]
unassignVehicle unitName
« Last Edit: 18 Dec 2005, 01:29:43 by nominesine »
OFPEC | Intel Depot
RETARDED Ooops... Retired!

jBrereton

  • Guest
Re:Boarding Vehicles With Certain Positions
« Reply #2 on: 18 Dec 2005, 10:14:42 »
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?

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Boarding Vehicles With Certain Positions
« Reply #3 on: 18 Dec 2005, 10:38:32 »
Locking vehicles only effects the player, not AI units