Unknown

From DarkAI

AI SET ENTITY HIT

Use this command to notify an entity when it gets struck by a bullet or other noteworthy damage from a particular direction. In automatic mode the entity will respond by looking for the source of the damage and acting against it if found. The direction should be specified as the direction the the projectile was travelling when it hit, i.e. pointing towards the entity. In the case that a direction is not available use a value of 0 for both X and Z and the entity will look around itself.

Syntax
AI Set Entity Hit Entity Number, X#, Z#

Parameters
Entity Number, The id of the entity that is hit.
X#, The X direction that the projectile was travelling.
Z#, The Z direction that the projectile was travelling.

Return
n/a