How to make【A summon that automatically escapes after 5 turns】?

Thank you for viewing this post! (Sorry for my bad English again.)
I made some items which you can summon other characters by consuming them.
It works.But I wonder what can I do if I want the summon 【escape automatically after limited turns?】
😐

Some details(maybe you would like to know):
In my game, there are many types of summons, but they all appear as character #4.
Maybe I could make a state which will let them escape when it ends.But how should I do?Can Visu_StatesSkillsCore help?Or other plugins?
I think you can do this by giving your player a state whenever they summon a character, and put that state to be removed after some turns. When the player got the state, you can set a common event where this summoned character appears, and when the state is removed, then you can make an event to remove the charater from the party
its all about logic i think,
you can make skill - summon beast, and state - summoned

when you use skill summon beast - make it summon the actor u want or monster
and they have pasive state on them - summoned which will be removed after 5 rounds

make one parallel common event, tracking summon actor, states,
condtional branch - check if actor is in battle
if then check actor state = summoned
if then do nothing
if not then remove charcter from party
I think you can do this by giving your player a state whenever they summon a character, and put that state to be removed after some turns. When the player got the state, you can set a common event where this summoned character appears, and when the state is removed, then you can make an event to remove the charater from the party
I wonder how can I run the common event exactly when the state is removed?
I wonder how can I run the common event exactly when the state is removed?
common event is all time running parallel with some switch at game start
when you use item to summon, make one state let say summoned it should be added to actor as soon as he is in battle via script
now parallel common event will check it - if actor is have this summon state or not
if it has it will do nothing but say if he dont have it then in that case u can remove actor
now parallel common event will check it - if actor is have this summon state or not
I don't know if parallel works in Battle Scenes because I tried it and it didn't check automatically, I think it only works in Map Scenes (I dunno if I did it wrong, though)
I wonder how can I run the common event exactly when the state is removed?
I don't think you can do that, although I tried to event the summoning feature you were describing

Here's what I did:


1. Make the item that can summon. This is the setting I used
1725602591865.png


2. Make the Summoning common event to call the actor to the battle. This is what I used
1725602639366.png


3. Make the state that appears when summoning. You can set how much turns it will take. I put priority 0 and no icon so the player don't see the state*
1725602759351.png


4. Make a common event that checks if player have the state.

1725602926298.png


5. Make a battle event in the Troops page like this

1725603200560.png


If you did this correctly I think it's gonna be similar to what you wanted (the summon will go away after 5 turns or how many turns you have set in the state to automatically remove it) and the summon will disappear in the beginning of the next turn. Let me know if this is fine or you have other problems

*if you want the summoning state to be visible, that probably will need a heavy workaround😅
I made a plugin to enable summoning that also has an auto-expire feature:

I don't know if parallel works in Battle Scenes because I tried it and it didn't check automatically, I think it only works in Map Scenes (I dunno if I did it wrong, though)

I don't think you can do that, although I tried to event the summoning feature you were describing

Here's what I did:


1. Make the item that can summon. This is the setting I used
View attachment 317016

2. Make the Summoning common event to call the actor to the battle. This is what I used
View attachment 317017

3. Make the state that appears when summoning. You can set how much turns it will take. I put priority 0 and no icon so the player don't see the state*
View attachment 317018

4. Make a common event that checks if player have the state.

View attachment 317019

5. Make a battle event in the Troops page like this

View attachment 317022

If you did this correctly I think it's gonna be similar to what you wanted (the summon will go away after 5 turns or how many turns you have set in the state to automatically remove it) and the summon will disappear in the beginning of the next turn. Let me know if this is fine or you have other problems

*if you want the summoning state to be visible, that probably will need a heavy workaround😅
Thanks a lot.It would help!
I think you can do this more simply by having the summon skill set a variable to 5.

Then you have one troop event running every turn that says "if the variable is > 0, subtract 1. If it's then = 0, make the summon flee"

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-summon-that-automatically-escapes-after-5-turns.171704/