• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Kindly explain to me how fleeing works

Karain

Jack of all trades
Joined
Jul 9, 2009
Messages
338
Solutions
3
Reaction score
147
Location
Egypt
Hello OtLand, sorry for bothering you with my C++ ignorance, but can someone please explain to me how "fleeing" monsters calculate their paths while running away from you on low health?

I'd like to recreate it in Lua for special purposes, but i can't seem to understand it from reading the C++ code alone, plus it's confusing since i don't understand C++ all that well.

Thanks in advance.
 
Back
Top