MV Shooting system?

remove the last comma as that one isn't required after opacityMax:1}]

unless there is more inside the object, but object are mostly like this below:
JavaScript:
let code = {
    1: "any",
    2: "object",
    3: "alike"
}
any comma behind expect another entry which can be left alone.
remove the last comma as that one isn't required after opacityMax:1}]

unless there is more inside the object, but object are mostly like this below:
JavaScript:
let code = {
    1: "any",
    2: "object",
    3: "alike"
}
any comma behind expect another entry which can be left alone.
Sadly, still the same error. The problem is in the new line with sound, if i remove it - everything works.

Also, i tried another thing - adding pause between shots to make it more realistic, but both "$gameMap.event(20)._waitCount = 59;" and the "character._waitCount = frames - 60;" result in same error as well.

I got those commands from script call list so idk if they are valid and if i am using them right.
I got it to work. The actual problem is the quotes around the name of the sound effect cause the first quotes to break. Change the outer quotes to " instead of ' and only have the ' around the sound effect name.
I got it to work. The actual problem is the quotes around the name of the sound effect cause the first quotes to break. Change the outer quotes to " instead of ' and only have the ' around the sound effect name.
Yes, everything is working now! Thank you again so much for the explanations!

I even started to understand a bit of the structure of the event itself in the plugin help file, since you explained how part of them work - i think that i can figure out the others. Looks like it's possible to make a lot of funny things, like make enemies explode with certain bullet types. Or make the objects change into other objects - if it works as i assume, interesting puzzles could be possible. I think that bullets can even destroy objects on their path or apply some effects to terrain, like burning after using flamethrower. This plugin looks very complex.

But even after reading help text several times i failed to find the value to set for firing speed. I found bullet speed, and some other things like speed of disappearing, but no shooting speed.

I tried to set this script simillar to the logic of your script:

MoveJS:"$gameMap.event(20)._waitCount = 200;",

It works in sense that it does not give me any errors, but somehow it does not pause between shots. I don't see any effect at all from it. It does pause, but... somewhere else?
Same with MoveJS:"character._waitCount = frames - 60;",
You mean the cooldown between firing bullets? That's just the Wait 10 frames (or however long you want) like in the third picture I posted. Or do you mean the speed of the bullet?

And yes, this plugin is insanely powerful and you can make all sorts of action games with it but most people see Chinese and javascript (or rather javascript object formatting) and get scared off.
You mean the cooldown between firing bullets?
Yes. I can't see anything with wait in your pictures.
There is speed parameter that changes bullet speed, but no wait. Maybe i am not looking at the right one? But i think that i checked all.
Tried also - Wait:50, not working.

And yes, this plugin is insanely powerful and you can make all sorts of action games with it but most people see Chinese and javascript and get scared off.
It has pretty complicated description. I am not sure if it's because i am not tech fluent, or because im not a native english speaker, but it just difficult to understand without step-by-step examples that you provided.

But yeah, the plugin already gives me more tools than i expected. Maybe i will make a proper shooting game with it someday. Or a puzzle one. Or both)
Yes. I can't see anything with wait in your pictures.
There is speed parameter that changes bullet speed, but no wait. Maybe i am not looking at the right one? But i think that i checked all.
Tried also - Wait:50, not working.
You use the RPG Maker Event Command Wait: X Frames. The third picture I postef has it.
You use the RPG Maker Event Command Wait: X Frames. The third picture I postef has it.
I feel stupid. I checked the code for the shooting so many times, until i realized that it's the separate command that comes after.
You use the RPG Maker Event Command Wait: X Frames. The third picture I postef has it.
I think that i found a bug. If you leave the room with active enemy, and then come back, that enemy becomes immortal. Maybe you know what can cause that?
Double-post notice: @ElvenNeko
Double-post notice: @ElvenNeko
Sorry, i forgot about that. Can i delete my other comment somehow? I haven't found a way.

Also, have a question - do person i responding to get new notification when the comment is editted? Like, if they already read it before. And if not, how do i notify them without creating second comment?
No need to modify any of the messages. I don’t intend to merge them since that would dampen a notification. A thread can be updated every 24 hours if a response has not been received or a new issue has appeared.
I think that i found a bug. If you leave the room with active enemy, and then come back, that enemy becomes immortal. Maybe you know what can cause that?
I can't replicate this in the demo project. Could you post all three pages of the enemy?
A thread can be updated every 24 hours
With a button or comment?
I can't replicate this in the demo project. Could you post all three pages of the enemy?
1740249764889.png

That's the door, just in case it can be the issue.

I first thought that re-entering the room adds even more hp via page 1, and that hp might simply double. But nope - no matter how much i shot enemy were alive.

Another thing that i noticed - with this plugin you cannot move character via mouse1, even in location where shooting script is absent.
1740249833374.png
1740249852863.png
1740249803880.png
With a button or comment?
You would just reply to the thread after 24 hours.

Could you open the console (Press F8 or F12) and type in $gameMap.event(9).hp after shooting at it?
Could you open the console (Press F8 or F12) and type in $gameMap.event(9).hp after shooting at it?
1740263303726.png

I guess this is the suspect?
You could try turning that plugin off and see if it makes any difference but I am more interested in whether the event's hp is changing when hit with a bullet which is why I asked you to run that script in the console.

I want to know if there is something wrong with the bullet hitting or if there is something wrong with the death trigger
You could try turning that plugin off and see if it makes any difference but I am more interested in whether the event's hp is changing when hit with a bullet which is why I asked you to run that script in the console.

I want to know if there is something wrong with the bullet hitting or if there is something wrong with the death trigger
So i did it wrong. Just not sure where i have to type it, here is another try.
1740334494091.png

1740334391518.png
You type it after the > in the body of the page and hit enter

Original thread: https://forums.rpgmakerweb.com/threads/shooting-system.175564/