Skip to content

creature_formations

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
leaderGUIDbigintunsignedNO0
memberGUIDbigintunsignedPRINO0
distfloatNO
anglefloatNO
groupAIintunsignedNO
point_1smallintunsignedNO0
point_2smallintunsignedNO0
 

Description of fields ​

leaderGUID ​

GUID of group leader  

memberGUID ​

GUID of group member  

dist ​

Maximum distance between group leader and member  

angle ​

Angle between leader and member

Only degrees are used! Values should be between 0 and 360

followangle2.png

groupAI ​

Sets group member behaviours, values are:

ValueBehavior
0Noone assists noone and member don't follow the leader
512Noone assists noone and member follow the leader
1The member aggroes if the leader aggroes
2The leader aggroes if the member aggroes
3Everyone assists everyone and member don't follow the leader
515Everyone assists everyone and member follow the leader
 

point_1 ​

point_2 ​

These values are used to set leaderGUID pre ending path points for memberGUID's where the path is a straight return path and memberGUID's should not crossover to other side of leaderGUID on direction change.

If your leader has a path like the one below where he moves to point 5 then back to 1 you would set point_1 = 4 and point_2 = 8 on the memberGUID. If the memberGUID is at angle 90 up to point 5 it will switch to angle 270 for the return trip. This is only needed to keep creatures on the correct side. these values can be left at 0 for creatures following directly behind leaderGUID or any creatures in a circular path.