Author Topic: Event - OnVehicleMove  (Read 2924 times)

God damnit as i mean throttle i mean when Vehicle moves forward back and right to left..
Should have specified onVehicleMove, since it doesn't indicate direction.


Pretty sure it's the equivalent of pressing down the gas pedal.

Pushing the gas pedal isn't "equivalent" to throttle, that's exactly what it is

But yeah this would have to be done with a constant loop
« Last Edit: May 26, 2016, 08:50:06 AM by Headcrab Zombie »

but you can use a speed check and see if it's accelerating

this is, of course, going from a conveniently triggered event to a looping script but it could result in what they want
Pushing the gas pedal isn't "equivalent" to throttle, that's exactly what it is

But yeah this would have to be done with a constant loop
And then it's going to be called when you do things like get out of the vehicle to flip it. When you get rammed. Or impulsed. Etc.

True. But is there anything better? I'm not aware of any way to determine if the driver is causing the acceleration

True. But is there anything better? I'm not aware of any way to determine if the driver is causing the acceleration
The only way would be if we got a callback function for it. But that's up to Baddy.
Or expecting the community to download a client mod.


It won't be easy to make this. It may not be accurate either.