Trying to make Event HP variables

PKirkby

Veteran
Veteran
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!
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top