Plugin to call Pre-emptive/Surprise Attacks on an encounter

Hi everybody,

I want to know if someone genius could make a plugin to be able to start a pre emptive / surprise attack on enemies when needeed?

Right now its seem it's only a math random in the rpg_manager.js that control that.

But I would love (and im sure a lot of people want too) that in certain condition I call this plugin command and I'm sure that the battle with be in pre emptive strike for my team or a surprise attack from the enemy!!

PLease can someone help me! tha could be a great gift of christmas !! 😀

thank you in advance !!

Val !
Does this plugin suffice? the limitations of it are that it works only for evented battles and that it doesn't work for followers but aside from that, I think it does what you describe. With some work I believe you can make it guarantee to make the battle pre-emptive strike for your team or surprise attack from the enemy (though I don't have MV to test it so I can't guarantee it).
Ohhh I will try this out and keep you updated! Thx for helping me finding this one. Let see what magic can I do with it! 😀  
Hum the plugins refered here is not complete and I haven't heard new from the creator for a while.

So I ask here again!

Can someone do a simple plugins where you can enter in Pre-emptive Attack when you are in the back of the enemy? 

And if the enemy touch you in your back, the enemy got the Surprise attack on you.

I want to be able to add a plugin command before a staged encounter (to decided if the system will be working in that event or not) and to be able to turn off the same event from that system or turn ON if I want to.

Is someone with good javascript is willing to help me in working on a script for that? Thank YOU 🙂  
Hum the plugins refered here is not complete and I haven't heard new from the creator for a while.

So I ask here again!

Can someone do a simple plugins where you can enter in Pre-emptive Attack when you are in the back of the enemy? 

And if the enemy touch you in your back, the enemy got the Surprise attack on you.

I want to be able to add a plugin command before a staged encounter (to decided if the system will be working in that event or not) and to be able to turn off the same event from that system or turn ON if I want to.

Is someone with good javascript is willing to help me in working on a script for that? Thank YOU 🙂
I will try the pre-emptive/surprise attack from touch since I'm going to put it in one of my games anyway, but I don't understand what you are asking here:

I want to be able to add a plugin command before a staged encounter (to decided if the system will be working in that event or not) and to be able to turn off the same event from that system or turn ON if I want to.
Do you mean a plugin command that causes the next battle to be surprise or preemptive?
I will try the pre-emptive/surprise attack from touch since I'm going to put it in one of my games anyway, but I don't understand what you are asking here:

Do you mean a plugin command that causes the next battle to be surprise or preemptive?
Both!

I want to be able to say to my next event(stage battle) that if the player come behind the enemy = Pre-emptive fight. 

If the enemy is behind me and touch my back = Surprise Attack (with the same event)

I just want to have control over how pre emptive and surprise attack work in my game 🙂  
I've written an article about how I would design such a plugin.


The plugin is complete, but I haven't made a release video for it yet.


If you want to test it out you can get it here.


My approach involves manually setting variables, rather than handling everything automatically since my goal isn't to just handle "touch battle start" cases.
If you want to test it out you can get it here.
Broken.
I've written an article about how I would design such a plugin.

The plugin is complete, but I haven't made a release video for it yet.

If you want to test it out you can get it here.

My approach involves manually setting variables, rather than handling everything automatically since my goal isn't to just handle "touch battle start" cases.
Hi Tsukihime,

I cant see your post on patreon 🙁 But I will definately try your plugins.

One thing to add is if you can detect that I touch an enemy encounter in the back and return the information so the player have a Surprise Attack on ennemy.

If the enemy(event) touch you on the back, its the enemy who got the surprise on you.

And if you touch him on the side you have a 33/33/33 percent to have a surprise, a pre-emptive or a normal attack.

I think this would be a simple plugins that everyone would love and have a bit more control over the surprise attack 🙂  
I'm working on the touch thing, Val, I'm pretty close to getting it perfect.
I'm working on the touch thing, Val, I'm pretty close to getting it perfect.
Oh that could be wonderful!! Control = great game coming 🙂  
Oh that could be wonderful!! Control = great game coming 🙂
http://forums.rpgmakerweb.com/index.php?/topic/54808-touch-surprise-battles/
Thank yoU! 🙂  

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-call-pre-emptive-surprise-attacks-on-an-encounter.53650/