Home   Help Search Login Register  

Author Topic: Cargo  (Read 543 times)

0 Members and 1 Guest are viewing this topic.

O Neil

  • Guest
Cargo
« on: 11 Jan 2003, 23:26:32 »
Hey

How did you get the infantry dude to start in the vehical?
ie, I want some west soldiers in a Empty east vehical.

THxs



;)[move]
[/move]
« Last Edit: 11 Jan 2003, 23:27:04 by O Neil »

SFG

  • Guest
Re:Cargo
« Reply #1 on: 11 Jan 2003, 23:31:02 »
unitname moveindriver carname
or
unitname moveincargo carname
carname= truck whatever you want to move it into

Diepvriezer

  • Guest
Re:Cargo
« Reply #2 on: 12 Jan 2003, 00:52:34 »
To move someone in a car/tank/plane as a driver(pilot), gunner or cargo, put the following lines in the init field of the unit:

this moveInDriver vehiclename
this moveInGunner vehiclename
this moveInCargo vehiclename


To assign a unit to a vehicle, put this in his init field:

this assignAsDriver vehiclename
this assignAsGunner vehiclename
this assignAsCargo vehiclename

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Cargo
« Reply #3 on: 12 Jan 2003, 22:01:14 »
and if you want larger groups, you could use:

"_x moveInCargo vehicle" forEach units groupName

which will move everyone in groupName into said vehicle. If you then want drivers/gunners, you can put another driverDude moveInDriver vehicle which will teleport driverDude into the driver's seat instead.

right. G'luck then.

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

O Neil

  • Guest
Re:Cargo
« Reply #4 on: 14 Jan 2003, 05:50:11 »
.....Think I got it, thxs