Home   Help Search Login Register  

Author Topic: How do you get a unit into a vehicle with a script?  (Read 600 times)

0 Members and 1 Guest are viewing this topic.

Offline Skumball

  • Members
  • *
How do you get a unit into a vehicle with a script?
« on: 09 Nov 2002, 00:15:54 »
I'm trying to do (almost) everything with scripts so is this possible?

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:How do you get a unit into a vehicle with a script?
« Reply #1 on: 09 Nov 2002, 00:22:00 »
Sure, it's quite possible.  Let's call your unit man1.  Let's say he's trying to get into a HMMWV named hummer1.  Your code would be as follows:

man1 assignAsCargo hummer1

[man1] orderGetIn true
Ranger

Offline Skumball

  • Members
  • *
Re:How do you get a unit into a vehicle with a script?
« Reply #2 on: 09 Nov 2002, 01:57:32 »
great! thanks!

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:How do you get a unit into a vehicle with a script?
« Reply #3 on: 09 Nov 2002, 07:02:13 »
you can also make him get in instantly with

man1 moveinCargo hummer1

Totibbs

  • Guest
Re:How do you get a unit into a vehicle with a script?
« Reply #4 on: 11 Nov 2002, 00:05:51 »
and how can I let him go out?