I think i found what it is: method onLoop takes entity e returns nothing
// This method sets the angle of attack of the projectile relative to it's velocity in three dimensions.
// Basically, if it's moving downwards, it'll face downwards
call SetUnitAnimationByIndex(e.dummy, R2I(bj_RADTODEG*Atan2(e.zV, SquareRoot(e.xV*e.xV + e.yV*e.yV)) + 0.5) + 90)
endmethod