Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Hey! I'm creating a system, where I need a vehicle to go forwards a little, like it's stopping somewhere, there is no driver so I need it to look like someone is driving it. I know i'd use SetVehicleVelocity, i'm just no good with angles and floats.
Thanks.
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
That's not really what I need to suffice the system I am making. It involves a Taxi being sent to a destination and upon arrival it actually looks like it has driven there and is slowing down to a dead stop.
Posts: 93
Threads: 13
Joined: Feb 2013
Reputation:
0
look like you need to record a NPC and play it
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
No, I don't need an NPC, I don't want to use any player slots for an NPC that probably wont be used as much. I know it's possible.
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
The vehicle won't be un-occupied, probably should of noted that, there will be a passenger inside the vehicle. I'm trying to get something like, in Vice City when you fail a mission and the Taxi appears outside the Hospital, when you enter that Taxi, you end up moving forward before the black screen fades in.
Posts: 2,629
Threads: 40
Joined: Mar 2008
Reputation:
0
Then SetVehicleVelocity would be the way to go. If you're unsure on how to use the function, take a look through a load of vehicle boost scripts and you may get some idea how it works.
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
I've had a look through some of the vehicle boost functions, but I cannot seem to find a way to do it. Most boost systems make the vehicle go faster, I need it to sort of slow down to a stop.