AngleTo
Get the angle difference between us and another object on the vertical axis (Yaw).
Syntax
AngleTo:[object]
-- Returns the angle difference to the specified object
// If the angle to our target is less than 30, then we'll to try and attack them!
IfAttr "AngleTo:target < 30 Pattern pt_attack"