Game/AI: Implement ContactDistance for ACTION_MOVE_TO_POS (#18720)

This commit is contained in:
Rushor authored and Aokromes committed 2017-01-23 00:15:25 +01:00
1 parent 4edbb2d633
commit 304ecbc8b1
2 files changed
+9 -2

No files matched your search

@@ -509,7 +509,7 @@ enum SMART_ACTION
SMART_ACTION_SET_ORIENTATION = 66, //
SMART_ACTION_CREATE_TIMED_EVENT = 67, // id, InitialMin, InitialMax, RepeatMin(only if it repeats), RepeatMax(only if it repeats), chance
SMART_ACTION_PLAYMOVIE = 68, // entry
SMART_ACTION_MOVE_TO_POS = 69, // PointId, transport, disablePathfinding
SMART_ACTION_MOVE_TO_POS = 69, // PointId, transport, disablePathfinding, ContactDistance
SMART_ACTION_RESPAWN_TARGET = 70, //
SMART_ACTION_EQUIP = 71, // entry, slotmask slot1, slot2, slot3 , only slots with mask set will be sent to client, bits are 1, 2, 4, leaving mask 0 is defaulted to mask 7 (send all), slots1-3 are only used if no entry is set
SMART_ACTION_CLOSE_GOSSIP = 72, // none
@@ -988,6 +988,7 @@ struct SmartAction
uint32 pointId;
uint32 transport;
uint32 disablePathfinding;
uint32 ContactDistance;
} MoveToPos;
struct