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: Boarding Vehicles With Certain Positions  (Read 939 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