05-07-2013, 03:17 PM
Also one more thing, that is here:
I would recommend you use parentheses when using "||" and "&&" at the same time. Cuz without them, you can make sure the computer will interpret condition the way you want.
P.S: a mod should please merge these to the new thread.
Code:
(self.mp <= 400 && (abs(self.z-target.z) > 40) || (abs(self.x-target.x) < 1000 && abs(self.x-target.x) > 320))
P.S: a mod should please merge these to the new thread.
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
A-Engine Dev Blog - Update #8: Timeout