I'm currently working on a skill for an enemy which summons 2 enemies mid-battle. The skill calls a common event that summons the two enemies one at a time and checks which one is on screen to make sure it summons the correct one. If both are summoned it forces one of the summoned enemies to do an attack at the actors. My problem is that the the summoner enemy will play its summoning animation regardless if both enemies have appeared, so I'm looking for a way to restrict the enemy of performing this certain skill when both enemy ID #2 and #3 have appeared, so that the enemy won't play its animation redundantly.
Does anybody have some tips on how I could do this without a plugin? I can provide images on the common event as it is right now if necessary.
can't be done without a plugin unless you remove the animation from the skill and have it play in the common event, and that would still switch the battler to a different stance when the skill is used even without animation.
any true check and change in that sequence needs action sequences which need to be introduced by a plugin.
All right. I did something similar to this for my game so here's what I would do.
I would give your Summoner enemy a skill attached to a Common Event that checks to see whether it should use the summoning skill or not. If both of the summoned enemies are on screen, then you can have one of the summoned enemies attack from that common event. If both enemies are NOT on screen, then you can force your summoner enemy to use the summoning move from there. What I'm saying is that you should have two skills, each attached to their own common event. One common event to check whether the Summoner will use the move Summon or if one of the summoned enemies will attack, and the other to summon enemies. That's how I would accomplish this without a plugin.
Here's some quick pseudocode. SummonCheck is the move that your enemy will use to check whether it can use the move Summon or not.
Enemy uses SummonCheck. SummonCheck calls a common event:
Are both summoned enemies on the screen?
No?
Force Action, Summoner to use the move Summon. Summon calls the common event to summon one of your enemies.
Yes?
Force Action, one of your summoned enemies to attack with some move.
P.S. In the database, your Summoner enemy should only know the move SummonCheck, and not the Summon move itself. If you need me to clarify anything, just ask.
Or you could use VisuStella Battle AI to control when the enemy uses the skill.
Well, there are ways to work around things like this even without using a plugin, but I still have no idea how you're actually doing the skill.
So good luck! 🙂
I managed to figure it out by adding a auto-run event in the beginning of the battle turing on a "No summons" switch, which gets turned off once both summons have appeared, with the summon skill only being available if the swish is on
along side this i added another auto-run event to check if both summons are dead. If they are the "no summons" switch turns on again and the summoner enemy can use the skill again.