Postby HunabKu » Tue Jan 20, 2015 10:29 am
Hi !
I think you want fear like in Guild Wars 2 for example.
Is not mobs fleeing code to my knowledge.
In my opinion, you can do it about creating a path started mob position, direction inverted about mob heading, and finish mob position to along of. Make also a timer.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson