AI Mode Flags
HexMotS/JKPurpose
0x1JKAI is moving towards its destination.
0x2JKAI is trying to attack a target.
0x4JKAI is searching for targets or danger.
0x8JKAI is turning to face its looktarget.
0x10JKAI's current move target is valid.
0x20JKAI's current fire target is valid.
0x40JK 
0x80JK 
0x100JK 
0x200JKAI is awake and active.
0x400JKAI has LOS to its target.
0x800JKAI is fleeing.