Quote:
Originally Posted by DustyPorViva
You can't have i increasing by .75, it has to be by one unless you go through the trouble of increasing the loop and distance between each check(I described how to do that up there). I don't really see a reason to lower it below 1 though.
I've ran tests on the last script I posted and I'm not having any such problems with it, this is on a gmap as well.
Also, you might want to do the checks for finding the 'center' of the player/npc BEFORE the function, and send them through the parameters, instead of doing all that in the function.
|
Well it seems like onwall2() is returning true when it shouldn't, sometimes...