[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user