ronwolf1705 Posted April 28, 2012 Posted April 28, 2012 come and check new function: https://wiki.multitheftauto.com/wiki/SetPedGoTo
Stanley Sathler Posted April 28, 2012 Posted April 28, 2012 Wow, amazing! Very useful, thanks RonWolf.
Slothman Posted April 28, 2012 Posted April 28, 2012 what makes the ped stop moving when it reaches the coords? what if something pushes the ped onroute? needs a bit more.
Xeno Posted April 28, 2012 Posted April 28, 2012 This does actually look pretty cool - but as Slothman said, it needs improving in some areas.
KenXeiko Posted April 29, 2012 Posted April 29, 2012 Well, it's usefull (same with others, it needs more improvement).
ronwolf1705 Posted April 30, 2012 Author Posted April 30, 2012 Now the ped is stopping when he will reach the target position. I choosed the easiest way to do that, marker. The ped is doesn't stopping when he is damaged, he must reach the target even if he can die. ( you can remove damageDuringGo() function if you want to stop when he is damaged ) I have created also the new functions named getPedGoTo and getCursorMoveOn. I have to consider MTA source to make next functions in C++
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now