Home   Help Search Login Register  

Author Topic: Some question about intro in mp  (Read 1726 times)

0 Members and 1 Guest are viewing this topic.

Offline DMB

  • Members
  • *
Some question about intro in mp
« on: 18 May 2008, 12:06:39 »
I'm just trying to make an intro for my mp mission and i came up to the point where im a bit frustrated now.
Is there any chance to make existing player to drive a vehicle without actually using my keyboard?

I mean somethin like:

'cam setup & initialized'

MyPlayer moveindriver Vehicle
MyPlayer domove Waypoint

'following script'

which will obviously work with AI player, but can I make my player to move somethere with disabled control of mine? Or I will need to make duplicate(stuntman) of my character, put him in driver, move, and then replace with my character again?

Thanks.

P.S. for nice explanation will give you a credit.  ;)

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Some question about intro in mp
« Reply #1 on: 21 May 2008, 18:21:02 »
You'll need a stuntman.  If your unit was a passenger then moveInCargo would instantly get him in. MoveInDriver will get him in as driver but you would have to use setPos and setVelocity to make the vehicle move. Check out this script which can move the vehicle for you...

http://www.ofpec.com/ed_depot/index.php?action=details&id=271&page=0


No credit required :)
« Last Edit: 21 May 2008, 18:26:40 by Mr.Peanut »
urp!

Offline DMB

  • Members
  • *
Re: Some question about intro in mp
« Reply #2 on: 23 May 2008, 19:27:40 »
thanks Peanut. Sorted. :)