ID:157133
 
Hello Forum I'm trying to have my skill hit a mob or enemy right in front of me, well that isn't hard to do. But, The skill pops up under the usr. I don't like that because it looks tacky. Now
if(usr.dir==NORTH)
I.dir=usr.dir
I.loc=locate(usr.x,usr.y+1,usr.z)
walk(I,usr.dir)
usr.frozen = 0


I have used this to make the skill start one step ahead of the usr. But now it won't hit anything right in front of the usr. How do I get it to start in front of me and hit a mob in front of me?
Isenggard wrote:
How do I get it to start in front of me and hit a mob in front of me?

for(), get_step()
In response to Maximus_Alex2003
Thanks got it working.