ID:166092
 
I was wondering how I would make a code for something to shoot stright out and keep going stright till it comes to a certain amount of tiles it moves.

IE:
P = Person
- = Trail of shooting object
= end of shooting object


P ----------------->

Then when it hit something it causes damage, and makes the turf that it also traveled along turned into like a wasteland area.
In response to Ripiz
Nononononono! This is a horrible demo!

You should create new objects on the trail the first projectile steps on, and add them to a list. When the projectile is deleted, delete everything in the list too.