Here's the math.
radians = degrees * Math:😛I / 180 degree = radians(Math.atan2(hero.y - ai.y, ai.x - hero.x))hero and ai are arguments that can be changed by just calling it in an event.
Well let me explain what the script should do, the hero or event can one or the other back based on the degree shown in the math example.
While as simple as this is I've never actually gotten it to work, if anyone can help it'd be appreciated.
radians = degrees * Math:😛I / 180 degree = radians(Math.atan2(hero.y - ai.y, ai.x - hero.x))hero and ai are arguments that can be changed by just calling it in an event.
Well let me explain what the script should do, the hero or event can one or the other back based on the degree shown in the math example.
While as simple as this is I've never actually gotten it to work, if anyone can help it'd be appreciated.