Forum

> > CS2D > Scripts > direction against x and y
Forums overviewCS2D overview Scripts overviewLog in to reply

English direction against x and y

2 replies
To the start Previous 1 Next To the start

old Re: direction against x and y

EnderCrypt
User Off Offline

Quote
ok i try, i say if it seemed to work or not
havent tested cause i got error on this code by anothere user

dist = math.sqrt((x_pos - player(i,"x"))^2 + (y_pos - player(i,"y"))^2)
edited 1×, last 26.04.11 08:58:31 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview