Problem description:
I need help with several things, there is no code to show currently.
The first thing is - how would I create an object (or anything that would work in the same fashion) that: spawns in front of the user, and simply goes forward until it hits a dense tile, a mob, or a certain time passes.
I would also like to know how I would make it so that, say, a fireball will also damage anything it comes _near_ as well.
The second thing is - how would I target a single user, and multiple users up to a certain number, within an amount of pixels in the direction the user is facing? So, within 128 pixels the user is facing, mob will be binded for X amount of time.
Thanks in advance for any help!
If you don't know where to start, you should start reading the guide or search the developer help forum.