Hey all, I was hoping someone could help me out with getting my spell pathing to work. I currently have everything set up so that the player casts spells LoL style (either smart cast or normal). Skillshots and targeted abilities both work fine, except I can't get the pathing to play ball.
I've tried a couple of awesome smart pathfinding plug-ins, but they path in a large L shape which, as you might imagine, isn't desirable.
One idea I'm messing with is using pictures instead.
These move perfectly, but I can't work out how to retrieve their map/screen co-ords for use in calculations (ie, stop when you hit something). Can anyone enlighten me on a script or method for getting this info? Also, is it possible to animate pictures 'legitimately' or will I have to spam show picture commands?
The other idea was to use an algorithm to work out the straightest pathable line between the player and target, then use pixel movement to make it look as smooth as possible. Unfortunately I couldn't actually find any event friendly pixel movement plug-ins... It's also a hassle to event, since I'll have to loop the movement step by step to avoid the giant L issue...
So yeah, if anyone has any work arounds or can help me with my prospective solutions I'd greatly appreciate it. 🙂
I've tried a couple of awesome smart pathfinding plug-ins, but they path in a large L shape which, as you might imagine, isn't desirable.
One idea I'm messing with is using pictures instead.
These move perfectly, but I can't work out how to retrieve their map/screen co-ords for use in calculations (ie, stop when you hit something). Can anyone enlighten me on a script or method for getting this info? Also, is it possible to animate pictures 'legitimately' or will I have to spam show picture commands?
The other idea was to use an algorithm to work out the straightest pathable line between the player and target, then use pixel movement to make it look as smooth as possible. Unfortunately I couldn't actually find any event friendly pixel movement plug-ins... It's also a hassle to event, since I'll have to loop the movement step by step to avoid the giant L issue...
So yeah, if anyone has any work arounds or can help me with my prospective solutions I'd greatly appreciate it. 🙂