- Joined
- Oct 26, 2019
- Messages
- 157
- Reaction score
- 18
- First Language
- english
- Primarily Uses
- RMMV
Ok, hopefully you can follow me on this one, cause it gets a bit confusing.
Right now, as you can see in the screenshot, I have a side shooter. It works good, but I'm trying to make it easier. I'm using GALVs Map Projectile Plugin, which allows me to shoot and be shot at by projectiles, with a script such as this one "Galv.PROJ.dir(9,4,5,15,'bullet1',123,'c(7)|e',[5],[],3,1);"
Somewhere in there is a code that allows me to run a common action, which I have to self-switch to a second event in which the enemy orbs are subtracted 1 "HP" and once this hits 0 it dies. It works great, however the switch to the next page event interrupts them while shooting projectiles at me, and resets the randomized wait times for the projectiles.
ANYWAY, what I'm trying to do is set up some sort of event that will take life from these "orbs" or enemies separately, without affecting anything else. I dont know if there would be any way to find the X and Y coordinates of the projectiles, because its a plugin, if so I thought of that. Hopefully someone smarter than I has an answer, thanks!
EDIT: Also, I would like to implement this throughout my game, and make it simple to just tag enemies and give them HP, so it wont be just for one scene. Therefore the cleanest and simpliest way would be my goal. THANKS!
Right now, as you can see in the screenshot, I have a side shooter. It works good, but I'm trying to make it easier. I'm using GALVs Map Projectile Plugin, which allows me to shoot and be shot at by projectiles, with a script such as this one "Galv.PROJ.dir(9,4,5,15,'bullet1',123,'c(7)|e',[5],[],3,1);"
Somewhere in there is a code that allows me to run a common action, which I have to self-switch to a second event in which the enemy orbs are subtracted 1 "HP" and once this hits 0 it dies. It works great, however the switch to the next page event interrupts them while shooting projectiles at me, and resets the randomized wait times for the projectiles.
ANYWAY, what I'm trying to do is set up some sort of event that will take life from these "orbs" or enemies separately, without affecting anything else. I dont know if there would be any way to find the X and Y coordinates of the projectiles, because its a plugin, if so I thought of that. Hopefully someone smarter than I has an answer, thanks!
EDIT: Also, I would like to implement this throughout my game, and make it simple to just tag enemies and give them HP, so it wont be just for one scene. Therefore the cleanest and simpliest way would be my goal. THANKS!
Attachments
-
91.9 KB Views: 9
-
210.5 KB Views: 10
