Data Realms Fan Forums
http://forums.datarealms.com/

Fleeing AI
http://forums.datarealms.com/viewtopic.php?f=73&t=31484
Page 1 of 1

Author:  Djinn [ Tue Jul 24, 2012 6:59 pm ]
Post subject:  Fleeing AI

Simple enough - Is there a way to make actors flee from enemies rather than walking towards them?

Author:  xenoargh [ Tue Jul 24, 2012 7:02 pm ]
Post subject:  Re: Fleeing AI

Sure- give them a pathfinding order that takes them to a point that's further away from the enemy. Look at the pathfinding code in HumanBehaviors.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/