How to cancel a Common Event attached to a Skill if said skill fails?

San

Villager
Member
Joined
Dec 22, 2017
Messages
11
Reaction score
14
First Language
english
Primarily Uses
RMMV
Right now the Common Event runs regardless if the skill hits the enemy or not.
How do I make the Common Event run only when the skill successfully hits its target?
Can I cancel the Common Event if the attack miss?
 

Milennin

"With a bang and a boom!"
Regular
Joined
Feb 7, 2013
Messages
3,275
Reaction score
2,672
First Language
English
Primarily Uses
RMMV
Have the skill inflict a state on the target, then have the common event check if the target is inflicted with the state, and if yes, perform event. If not, skip to end.
 
  • Like
Reactions: San

Latest Threads

Latest Profile Posts

Twitch! We're at it live with some game development! Feel free to drop by!
Deffo need to do a twofer for the advent compilation tomorrow. I saw the Nutcracker downtown and now I am full of tequila. You know. As you do.
After a long hiatus, I return to these parts, and the RPG Maker in me rekindled!
49 weeks into my project and I have hit 1,000 hours in the editor. (Plus maybe 500 hours in Pixelorama.)playtime.png
Just made a massive breakthrough in an MV -> MZ plugin conversion for my jam game! Gonna have a feature MZ games have basically never had. :D

Forum statistics

Threads
136,901
Messages
1,271,255
Members
180,684
Latest member
brengh
Top