Angle

From WikiManual
Revision as of 12:55, 21 December 2005 by 80.140.186.52 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

angle

Calculates the angle between my co-ordinates and two other co-ordinates.

Place the desired co-ordinates onto the stack first then this function will remove them both and place the calculated angle onto the stack. (1000 1000 angle) will store the angle between where I am now and the target co-ordinates, [1000,1000], onto the stack. Then I can use the new value to show me which direction to head in.