MV Question about Galv's Projectile

I'm kind of noob at stuff like these yet ;w; so if i sound stupido sorry TwT.. I installed Gal'vs projectile plugin where you can shoot projectiles. When a projectile hits a event, a specific common event will run.

What I'm doing is that whenever a projectile hits a specific event (for ex. event 1) event 1 will play dead. That would be for event 2 and 3 too, but so far I can't really figure it out.

I tried this but it didn't work, only event 1 will play dead. And If I took down the else and make it their own branches when I hit a event all of them will play dead at the same time. I kinda want it to be like when u hit an event that event is ded, and then u hit another event and that "another event" will play dead.. like theyll die seperately to seperate projectiles.

1692075945076.png
Is that a placeholder or the actual event? If it is the actual event, always name common events so that you know which one is used.

First suggestion would be to disable all else branches - when you have absolute values to check, else is not needed anywhere. The event is better readable and less prone to errors then.

That said, I think the screenshot is of a placeholder or so because other than that I can't see anything wrong with it. In that case please show screenshots of the real events. Sometimes people correct their mistakes when re-doing the events for showcase placeholders.

EDIT:
in the text you talk about events 2 and 3, but the screenshots shows IDs 4 and 5, is that correct?
Is that a placeholder or the actual event? If it is the actual event, always name common events so that you know which one is used.

First suggestion would be to disable all else branches - when you have absolute values to check, else is not needed anywhere. The event is better readable and less prone to errors then.

That said, I think the screenshot is of a placeholder or so because other than that I can't see anything wrong with it. In that case please show screenshots of the real events. Sometimes people correct their mistakes when re-doing the events for showcase placeholders.

EDIT:
in the text you talk about events 2 and 3, but the screenshots shows IDs 4 and 5, is that correct?
Hi! yes, these are just placeholders, I'm currently just testing an idea that maybe could be made possible by this plugin! And ye, the events 4 and 5 are part of the 3 events that can be hit by the the projectile (event 1, 4, 5) events 2 and 3 are for another stuff ;-; im just really messy at creating events. I did what you said, about removing the else, whenever a target is hit though, everyone else will play dead.

And I did discover that Galv.PROJ.ceTargetId"(5)" whenever I change the number, it didn't really correspond. It just triggers whenever a event is targeted, regardless of what number is in it. I changed the 5 to like, 99 and the event still played dead.
Galv.PROJ.ceTargetId()
This script returns the event id of the event hit. (Or returns -1 for player or 0 for nothing hit).
A number in the brackets doesn't do anything.

Check out the demo and look at the common events for an example of putting it in a variable to change that variable to the id. Then you can use that variable as needed.

Alternatively, you could use it directly in the conditional branch and do something like:
Galv.PROJ.ceTargetId() == 2

For your purposes, though - does it need to be a common event? Turning a self-switch on could allow you to do the same thing within the event itself.
Galv.PROJ.ceTargetId()
This script returns the event id of the event hit. (Or returns -1 for player or 0 for nothing hit).
A number in the brackets doesn't do anything.
wAAAaa i knew der was somehting wrong with my brainu i feEl so stupido thanks for clarifying whhuuuuuuuuuuuuuu

Check out the demo and look at the common events for an example of putting it in a variable to change that variable to the id. Then you can use that variable as needed.

Alternatively, you could use it directly in the conditional branch and do something like:
Galv.PROJ.ceTargetId() == 2
WOA I didn't notice there were demos in your plugins!!!! thankss so much!

For your purposes, though - does it need to be a common event? Turning a self-switch on could allow you to do the same thing within the event itself.
EDIT X2: Figured it out x P thank you for replying!

Original thread: https://forums.rpgmakerweb.com/threads/question-about-galvs-projectile.160311/