I am programming using a weird language called 'Steve' similar to python I think. This is essenstially what I need solved:
enemyLoc = (enemy get-location).
myLoc = (self get-location).
if count > 0: {
# goal is to move perpendicular
#posX =
#posY =
dest = enemyLoc + (posX, posY).
self move-me to dest.
}
enemyLoc is a co-ordinate (x, y) and so is myLoc. Just an algorithm would be great and I can convert it from there.
Any help would be much appreciated as I have been trying different ways for hours. :/


Sign In
Create Account

Back to top









