[7288] Implement CreatureAI::JustReachedHome scripting call for home movement end point event. Author: NoFantasy

*Note: need to look at SD2 script to check what is the use of this function.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-16 20:18:21 -06:00
parent 4eb963528b
commit f271e71dc5
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -142,6 +142,9 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI
// Called when AI is temporarily replaced or put back when possess is applied or removed
virtual void OnPossess(bool apply) {}
// Called at reaching home after evade
virtual void JustReachedHome() {}
};
struct SelectableAI : public FactoryHolder<CreatureAI>, public Permissible<Creature>