What's the formula for a var that returns the degrees in a full rotation from Point A(src) to Point B(src.target) using trigonometry in the DM language?
The what? Umm... Do you mean the angle between point a and point b? Well, if that's the case, use the getangle() proc. Look it up in the reference. It's inaccurate, but good enough for a tile based system like DM.
Otherwise, use a bit of right angle trig:
sin d = abs(a.y-b.y) / (distance between a and b)
Where d is the angle. You get that from right angle trigonometry.
Otherwise, use a bit of right angle trig:
sin d = abs(a.y-b.y) / (distance between a and b)
Where d is the angle. You get that from right angle trigonometry.