Checking if a specific skill is used during battle

theweirdnerd

Villager
Member
Joined
Oct 9, 2020
Messages
21
Reaction score
5
First Language
English
Primarily Uses
RMMV
There is a very particular thing I want to do during a skill tutorial sequence. Basically, I want to set up a conditional branch that sees if the player has used a specific skill and only that specific skill, afterwards dialogue is triggered and the tutorial ends.

Another thing I thought of trying is setting up a conditional branch or a condition that checks if the player's health is over a specific amount (in battle, their health can be checked if it's a percentage or lower) I want to check if the health is a percentage or higher.

Either way is a way to accomplish what I want but figuring it out is tricky. Any advice is helpful!

Edits: I know the event editor has ways of checking if a party member has a skill, but I want to check if a certain party member used a skill. I.e. If you have Hotdog, burger, or steak. Check if hotdog used ketchup.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,186
Reaction score
1,168
First Language
English
Primarily Uses
RMMV
Attach a common event to the skill that sets a switch when it's used. Then make a battle event with the condition of that switch being on.

As for the health...well, they're going to start with their health being that high in the tutorial, right? So I'm not sure what you're going for. If you're teaching them how to heal or something, just do it the same as above, set a switch with the healing item/skill.
 

theweirdnerd

Villager
Member
Joined
Oct 9, 2020
Messages
21
Reaction score
5
First Language
English
Primarily Uses
RMMV
Attach a common event to the skill that sets a switch when it's used. Then make a battle event with the condition of that switch being on.

As for the health...well, they're going to start with their health being that high in the tutorial, right? So I'm not sure what you're going for. If you're teaching them how to heal or something, just do it the same as above, set a switch with the healing item/skill
I created a variable then set it to that party members HP. Then set up a conditional branch that checks if that party members HP is over a specific amount, then trigger the dialogue.

The scene is this: This party member is injured and is put at 1 health. But their TP is set to 100. They have a skill that turns 100 TP into 100 HP. So once they use that skill, the tutorial ends. The HP variable way is more just assuming that the player used the skill. So I'll try both ways, see what works.
 

theweirdnerd

Villager
Member
Joined
Oct 9, 2020
Messages
21
Reaction score
5
First Language
English
Primarily Uses
RMMV
Attaching a common event to the desired skill works! Thank you for the help!
 

Latest Threads

Latest Profile Posts

Bengawan Solo with fantasy style arrangement. :D
So I just got my computer back (Was posting stuff on my phone) But now my dang monitor's broken! I'll need to get a new one, which means... JOBS! Yaaay... When I get a new monitor, I'll post picture of one of my RPGMMV projects.
Wish me luck... :kaodes:
Had to clean up disk space because Windows Updates was having my primaries' disk space for breakfast, lunch and dinner. I guess the clean up thingy doesn't work or something because there were 15gigs of old update files in it.
Monday morning, and the sudden message: Hey, can you set up a full second lesson about pixel art till tomorrow?

Forum statistics

Threads
115,892
Messages
1,093,778
Members
151,140
Latest member
soounreal
Top