Add some Follow stuff to lua

You can also disallow following code from allowing the NPC to run if
they're far enough away
This commit is contained in:
Michael Cook (mackal) committed 2018-11-03 17:44:19 -04:00
1 parent 5e03d977d6
commit dbb368865c
5 files changed
+31 -5

No files matched your search

+3
View File
@@ -92,6 +92,9 @@ public:
bool IsGuarding();
void AI_SetRoambox(float dist, float max_x, float min_x, float max_y, float min_y);
void AI_SetRoambox(float dist, float max_x, float min_x, float max_y, float min_y, uint32 delay, uint32 mindelay);
void SetFollowID(int id);
void SetFollowDistance(int dist);
void SetFollowCanRun(bool v);
int GetNPCSpellsID();
int GetSpawnPointID();
float GetSpawnPointX();