I wanna make a projectile system which basically takes all the frustration and tediousness of doing it per spell, and throws it into a nice little system that takes care of all projectiles currently in motion. Basically I want to store everything in the projectile itself so that I can just run 1 timer for all of them, and not have to worry about any values or stuff like that.
Now my question is, would this be better to create a global array for the projectiles, or is there some way i can do this with locals? Since I want everything stored with the projectile, I figured the easiest way would be to create a missile, give it all the info required, then add it into the array and simply use a loop to control all the projectiles on one timer. It seemed to make sense, but that's how I would have done it in .GUI, and since I'm still not aware of everything JASS has to offer, I'm not quite sure how to set it up to work better than what I previously mentioned.