03-17-2019, 09:03 PM
This would just be a simple script event call, but anyone know how to make it work?
Don't think I've truly looked at every script in well over a decade...
Don't think I've truly looked at every script in well over a decade...
Code:
dir = pi * arctan2(Player.y - Npc.y, Npc.x - Player.x) * (180 / pi) / 180;
x+=cos(dir)*2;
y+=-sin(dir)*2;