Jump to content
Sign in to follow this  
Yolo Joe

Need help with towing script!

Recommended Posts

As soon as cars velocity changes from 0, the brakes are released. So when car1 attach point is _ropeLength (or just under) away from car2 attachpoint setVelocity to some low value.

Been a while since I last tried something like that, but I could swear that the tires where still blocking when the vehicle received a setVelocity command, despite moving.

Share this post


Link to post
Share on other sites

So was this ever sorted out fully?

 

Reason I ask is that I'm trying to make a vehicle recovery mission for my group and rather than trying to get a mod added to our modpack I'd like to try using a script but admittedly I am useless whjen it comes to wrtiting scripts.

 

The basic idea is that when both the towing vehicle (variable name "mrap") and the vehicle to be towed (variable name offroadUN) are within range of a trigger it activates giving the player the option to hook up a tow rope between the vehicles?

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×