05.09.2015, 11:39
So that\'s the reason why your script acts a lot better on slopes. The only disadvantage is that it doesn\'t look as smooth when taking curves. I really like what you\'ve done here, the NPCs just can\'t be perfect yet. You should save Drivers[driverid][nCurNode] in a variable in the FCNPC_OnReachDestination callback, it would make the code look a lot better and it should be a tiny-tiny bit faster as you\'re using it many times.