rpg maker mv how to use fusions during battle

that are the common events, but how are those events called?
alone like that they do nothing.

and especially the second event is useless because it has nothing to determine when the event is called.

for the first common event to add the single actor, it would have to be called by a skill - that is correct and normal. Although the conditional branch there is questionable.

for the second common event to finish and remove the actor, it would have to be called from a troop event that checks the conditions - and if you already have a troop event it would be better to have the troop event do everything, completely scrapping the common event 2.
then the first event is that when the actor is in that state, i.e. that of "fusion 1", the second interested actor is removed from the part, while the second event is connected to another capacity which in practice would be that of defusion "i.e. End Fusion 1", doing this second skill which will return the main actor to normal by removing the "fusion 1" status also returns the other actor who re-adds him within the party.

One thing I didn't understand, what is the troop event?
Exactly what it sounds like - when you're in the Troops tab of the database, the entire lower half of the window is for events that run during battle.
@Legend958 , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

Please be sure to also include English translation (Google is fine) with any Italian postings as this is the English language forums.

Thanks!
@Legend958 , per favore evita il doppio post, perché è contro le regole del forum. Puoi utilizzare la funzione "Modifica" sui tuoi post per aggiungere ulteriori informazioni che hai dimenticato o rispondere a più persone. Puoi rivedere le nostre regole del forum qui . Grazie.

Assicurati di includere anche la traduzione in inglese (Google va bene) con qualsiasi messaggio in italiano poiché questo è il forum in lingua inglese.

Grazie!
Yes, I know, I was wrong, I apologize.
Esattamente quello che sembra: quando sei nella scheda Truppe del database, l'intera metà inferiore della finestra è per gli eventi che si svolgono durante la battaglia.
Ah yes, I get it, but how should I structure this common event in the troops section?

I also wanted to add something regarding the state of the merger, through this image.
Inside the state notetag I put this:

<Custom Apply Effect>
if (user.isActor()) {
user._prevCharName = user._prevCharName || user._characterName;
user._prevCharIndex = user._prevCharIndex || user._characterIndex;
user._prevFaceName = user._prevFaceName || user._faceName;
user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
user._prevBattlerName = user._prevBattlerName || user._battlerName;
if (user.actorId() === 1) {
var charName = 'Actor1';
var charIndex = 3;
var faceName = 'actor1';
var faceIndex = 3;
var battlerName = 'Actor1_4';
}
user.setCharacterImage(charName, charIndex);
user.setFaceImage(faceName, faceIndex);
user.setBattlerImage(battlerName);
user.refresh();
}
</Custom Apply Effect>

<Custom Remove Effect>
var charName = user._prevCharName;
var charIndex = user._prevCharIndex;
var faceName = user._prevFaceName;
var faceIndex = user._prevFaceIndex;
var battlerName = user._prevBattlerName;
user.setCharacterImage(charName, charIndex);
user.setFaceImage(faceName, faceIndex);
user.setBattlerImage(battlerName);
user._priorityCharacterName = undefined;
user._priorityCharacterIndex = undefined;
user._prevFaceName = undefined;
user._prevFaceIndex = undefined;
user._priorityFaceName = undefined;
user._priorityFaceIndex = undefined;
user._prevFaceName = undefined;
user._prevFaceIndex = undefined;
user._priorityBattlerName = undefined;
user._prevBattlerName = undefined;
user.refresh();
</Custom Remove Effect>
<Custom Regenerate Effect>
var perditaMP = Math.floor(user.mmp * 0.25);
if (origin.isAlive() && origin.mp > 0) {
origin.gainMp(-perditaMP);
origin.startDamagePopup();
origin.clearResult();
} else {
origin.removeState(12);
}

</Custom Regenerate Effect>
I don't understand what's going on at this point.

What is your problem or question right now? What exactly works and what doesn't?

You keep posting in Italian.

Also, you seem to be trying to do some advanced things with plugins and JavaScript code, but you don't know basic things like what a troop event is. Have you taken the time to do plenty of basic tutorials for MV before trying to do fancy things?
I don't understand what's going on at this point.

What is your problem or question right now? What exactly works and what doesn't?

You keep posting in Italian.

Also, you seem to be trying to do some advanced things with plugins and JavaScript code, but you don't know basic things like what a troop event is. Have you taken the time to do plenty of basic tutorials for MV before trying to do fancy things?
Sorry I really don't know why he put them in Italian, wait for me to change, but if you mean the images, I use the program in Italian and not English, sorry again.

However my problem is: that I can't reply based on what you explained to me. I managed to make the transformation through the first fusion, i.e. image 1 works during a battle, now what I can't do is to make the other actor come back when the first actor loses the fusion the first "Harlod" is back to normal ", but "Therense" doesn't come back, so I wanted to ask you, (if you don't put it in Italian), how can I get "Therense" back.
I also ask you if you can a graphic demonstration, please.

Fusion start: image

Fusion end: image 2
I've merged all the double and multi postings. Again, please refrain from doing so as it's against the rules to post multiple times in a row and to bump threads before 72 hours have passed.

And, yes, to ensure you get the best support here make sure to include English translations on forum posts (obviously you can't do anything about the program itself).

Sorry to pester you so much!
I've merged all the double and multi postings. Again, please refrain from doing so as it's against the rules to post multiple times in a row and to bump threads before 72 hours have passed.

And, yes, to ensure you get the best support here make sure to include English translations on forum posts (obviously you can't do anything about the program itself).

Sorry to pester you so much!
Yes, you're right, I apologize again, but I was confused, because it's the first time I've posted on your forum after 10 years, I'm sorry again and it's only right that you remind me.
No need to worry. You're all good!
I wanted to ask you, (if you don't put it in Italian), how can I get "Therense" back.
There are a few ways.

You can do what Andar said and make a troop event that runs every turn. In that event, look to see if Harold has the state, and if not call the common event you made to restore Therese.

Or, since you're obviously using Yanfly's Buffs & States, give your transformation state the notetag
Code:
<Custom Remove Effect>
$gameTemp.reserveCommonEvent(X);
</Custom Remove Effect>
where X is the ID of your End Fusion common event. I don't know what the ID is to type in for you because you cut off the screenshots that you posted.

Do not put leading zeros.
There are a few ways.

You can do what Andar said and make a troop event that runs every turn. In that event, look to see if Harold has the state, and if not call the common event you made to restore Therese.

Or, since you're obviously using Yanfly's Buffs & States, give your transformation state the notetag
Code:
<Custom Remove Effect>
$gameTemp.reserveCommonEvent(X);
</Custom Remove Effect>
where X is the ID of your End Fusion common event. I don't know what the ID is to type in for you because you cut off the screenshots that you posted.

Do not put leading zeros.
Perfect, I'm going to open the program and let you know how it went.

There it is, I tried to do as you told me, first I tried to make a battle event in the troops section, but practically Therense didn't remove from the group, so I removed that event and tried the second option i.e. that of using the yanfly plugin that of buffs and states, I inserted the code that ATT_Turan had told me and this time Therense is back. Finally we did it! 👍

I thank all the participants in this topic for your availability, I hope we will hear from you for any other problem and/or for any help you may need.
Thanks again and have a good day everyone.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-how-to-use-fusions-during-battle.160250/