You'd need to spawn new events if you want to be able to cast multiple projectiles at the same time using events, unless you want to spam so many "placeholder" events which isn't advisable... And that also needs a script so, why not just script it all?
btw I posted the projectile script on your other thread right?
no, but I looked through your chicken game scripts and 0_0 i wanted to cry. I was lost. I am slowly trying learning Ruby coding, but it is still a mess to me. I understand more than I did a week ago, however.
I had been seeing people use evented ABS, and the tutorials I found didn't really explain the process.
I posted a link to the old magica script file which contains the projectiles...
The problem with eventing the projectile using events as the projectile is how you'd show multiples... Rather than using events, you could utilize images, and do lots of checks etc... It's certainly possible but it would be easier to write in script form given that it would be long to achieve a usable projectile...
Wow. I should have checked more that page more than once. I didn't see that you edited your post and put the link in there. *facepalm* I checked it earlier that day, must have forgot about it. I was going to just use a modified version of Galv's invader script, but I really want ABS instead.
I downloaded the *.rvdata file and it was like a plane flying WAAAY over my head. I tried to run it in the project to maybe see what happens and how to activate it, but it gave some errors and wouldn't start. I am completely baffled by the strings in the scripts, and how to call whatever it is that's called. Does it use skills to show projectile? Do you set skills in the database, and the script calls them?
It uses script calls to use, so you could either make an event that checks for button press or use a skill that activates a common event and so on... It's not really easy to use, which is why I never released it for the public so far.
Anyway, if you're gonna event it, I suggest looking at pictures instead of using events as projectiles...
Multiple projectiles can be done with pure eventing, but that will require a rather complex common event.
Basically that common event needs to be able to control several projectile events (up to the maximum number of projectiles allowed for the player) and needs to check which projectile-event is currently in use and which not (that means each projectile needs not only its own event, but also one general switch and possibly an additional variable for its controls), and your controlling common event needs a lot of conditional branches to check those switches and variables to identify what it should do.
That is not easy, which is why a lot of people use scripted ABS - and to write a scripted ABS is still a lot of work.
Which is exactly what the firing script on the file I linked on the other thread does...
For an event:
-Create Image
-Label: Move
-Move Image
-Check if hit
-If yes, remove image, turn off event
-If no, check if end of path
-If yes, remove image
-If not, jump back to label Move
It's easy enough on paper, the specifics make the difference... Like how accurate should the projectile collision be? Would it involve different sizes of projectiles? How about terrain impact like hitting walls and rocks?