MV Remove Skill based on Party

I'm looking for a script that allows me to remove a skill from an actor while another actor is present in the party. For example: Actor 1 has learned skill Fireball, but "unlearns" it while Actor 2 is in the party.
Hello!
I didn't quite understand the purpose, but you could do that with "Common Event".
Hi there!

You can do that using a common event whenever you add or remove a party member.
In this common event, you will have to do the checks in the conditional branch. Something like that:

1620185477854.png


Following this logic, you will achieve what you want, with events.
Unfortunatley the common event doesn't work as expected, because it is a battle only scenario. To give more clarity - I am trying to use SumRndmDde's Summon Core and Astfgl66's QTE plugin in conjunction.

I have a skill that summons another actor, but requires a QTE. But I need the summon command to be forgotten by the summoner while the summoned actor is present or else the player can repeatedly repeat the action.
You could use Yanfly's Skill Requirements, if it's compatible with your Plugins:
<Custom Show Eval> if ($gameParty.members().contains($gameActors.actor(1))) { visible = false; } else { visible = true; } </Custom Show Eval>

Use this code in the notetag of the skill and replace 1 with the ID of the actor who needs to be in the party to make the skill unlearned. I am still a beginner, when it comes to coding, so if anyone spots some mistakes you are welcome to correct me, but the code as it is worked for me.
Unfortunatley the common event doesn't work as expected, because it is a battle only scenario. To give more clarity - I am trying to use SumRndmDde's Summon Core and Astfgl66's QTE plugin in conjunction.

I have a skill that summons another actor, but requires a QTE. But I need the summon command to be forgotten by the summoner while the summoned actor is present or else the player can repeatedly repeat the action.
In that case, don't know what you can do. Never used these plugins. You should include that in your first post since this information is crucial to answering your question. Good luck 🙂

Original thread: https://forums.rpgmakerweb.com/threads/remove-skill-based-on-party.136203/