Home   Help Search Login Register  

Author Topic: Switching vehicles  (Read 820 times)

0 Members and 1 Guest are viewing this topic.

HuNtEr-exz

  • Guest
Switching vehicles
« on: 29 Oct 2002, 13:14:48 »
how is it possible to make everyone from vehicle A teleport and instantly be in the same positions as they were in vehicle A in vehicle B with out them having names? (cause i could just do the movein driver command)

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Switching vehicles
« Reply #1 on: 29 Oct 2002, 21:03:38 »
Sure, that's easy enough to do.  You need to use the driver, gunner, and commander commands.

Let's say you have a tank named tank1, where your 3 crewmembers currently are.  Let's say you want to move them into an empty tank, tank2.  Your script or activation field would have the following code:

driver tank1 moveInDriver tank2
gunner tank1 moveInGunner tank2
commander tank1 moveInCommander tank2

I'm not sure, but you may or may not also have to use the assignAs... commands.
Ranger

HuNtEr-exz

  • Guest
Re:Switching vehicles
« Reply #2 on: 29 Oct 2002, 22:52:38 »
ok  thx that works