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
1,821
Reaction score
939
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

I'm tempted to leave the Fight/Escape choice in the Boss Battle submission and make Escape pop up Nedry from Jurassic Park: "Uh uh unh!"
Is it weird that i feel overwhelmed from reading codes that i wrote few months ago? Lol.

I dont even know where to continue!:hsad:
Ami
Gosh,I want to Play this Game Again one more again!

Seeing my Own Character & Kannono Once Again!
Tales_of_the_World_Radiant_Mythology_3_JPN_PSP-Coverart.jpg
I've been a bit to depressed to get work done on the game lately. Don't worry, I'll be okay.

Forum statistics

Threads
115,306
Messages
1,088,801
Members
149,952
Latest member
Bobbestro
Top