Attack an enemy, get a reaction

RCXDan

Champion of Brightmoon Tor
Veteran
Joined
Jan 4, 2019
Messages
56
Reaction score
75
First Language
English
Primarily Uses
RMVXA
So, a thing I've been thinking about is having enemies react to normal or even special attacks like in Chrono Trigger.

Like, is there a method where "X enemy is hit with [player attack], forcing them to react" either through conditional branches or scripts?

Ex. Boss is in a defending stance but the instant you hit them, it launches a devastating attack in return. That sort of thing.
 

gsuk

Veteran
Veteran
Joined
Jun 24, 2013
Messages
135
Reaction score
10
First Language
English
Primarily Uses
RMVXA
Maybe you could add a state to each of your weapons so that when you attack any enemy, it inflicts them with that state (the state doesn't actually have to do anything). Then you could create a common event that checks whether the boss is inflicted with that state. If so, use Force Action to make it unleash the attack, then remove the state.
This might not be the most efficient method, but is probably what I'd try first.
 

Tai_MT

Veteran
Veteran
Joined
May 1, 2013
Messages
5,318
Reaction score
4,546
First Language
English
Primarily Uses
RMMV
I did this in RPG Maker MV, but I'm fairly certain it'll work with VX Ace as well.

Every attack was given a state that inflicts (no icon, extremely low priority so everything else trumps it, state lasts like 1 turn). No enemies are immune to this state. Being inflicted with the state produces no text.

Then, under the troop attacks, I just put in there, "If has X state, use Y skill".

If you want it to work with a defense state... you could just set the Defense State to make the enemy weak to these hidden states and make them completely immune to the hidden states while they're NOT defending.

It sounds a lot more complicated than it actually is.

You really need only make the priority high on the attack from being inflicted with the invisible state so that it uses the skill you want.
 

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

Latest Threads

Latest Profile Posts

so, ive been gone for too long when i log in and see that everything is where is shouldn't be. XD
Steam killing my eyes.. I forgot why I use it only when I have no other choice
Making a map, my brain went "Look, Mjölnir!" as I plotted out a sacrificial entrance.

Actually, it went, "Look, hammer. Wait, Thor's hammer!"
CG tile rendering, take 3: windows.
which section you guys think looks more accurate to the perspective? left or right?

for reference, this is what it looks like "at street level"
Okay, Animal Crossing is remarkably addictive and exceptionally calming. I've been playing it pretty exclusively... like... 6 hours a day. Been a while since I've been this engrossed.

Forum statistics

Threads
95,401
Messages
928,913
Members
125,620
Latest member
Marlin
Top