Issue with respawning a specific enemy when conditions aren't met

Hello to all who read this! 


I am using Falcao's Pearl ABS (https://falcaorgss.wordpress.com/2012/12/02/falcao-pearl-abs-liquid-v1/), Kal's event spawning script (http://forums.rpgmakerweb.com/index.php?/topic/6099-eventspawn/) and Sixth's patch for both (http://forums.rpgmakerweb.com/index.php?/topic/44371-kals-event-spawner-issue-with-using-and-in-event-name/#comment-440526) which are all amazing, but for the life of me I cannot figure out how to keep respawning a certain enemy when the correct conditions are not met.


* I am using the Name Input processing window kind of like a  "password", with a conditional branch.


~So, the correct word is entered, in this case right now it is "Test", and Control Switch 1 is turned ON. Enemy Spawns perfectly. Fight commences, fun is had.


~Now, if the correct word is not entered, the "else" kicks in and Control Switch 2 is turned ON, which spawns a different enemy. Again, this enemy (Giuseppe) spawns just fine.


I needed the Control Switch 2 to turn OFF after it is flipped, and the predetermined number of enemies are spawned, so I created a second Event Page where it would "Wait" a certain amount of frames, then flip the Control Switch 2 OFF so it could be triggered again (parallel process) when the incorrect word is used again.


This did work for a second respawn, but I cannot get it to continue to respawn after that.  


I am hoping there is a solution to this conundrum. And I am open to ANY and ALL suggestions!


Here are the screen shots of the events I have going on. Like I said, everything DOES spawn properly-enemies attack and that's all peachy. I just need help with getting it to keep respawning "Guiseppe" when the incorrect word is entered! Thanks for your time!


Board_Event_P1.pngBoard_Event_P2.pngG_Spawner_P2.png


G_Spawner_P1.png
I have no idea about the scripts, but there is one thing you might want to check:


How many actors without names do you have?


I always suggest naming all actors, even if you intend the player to rename them, simply because the editor uses the name for you to see the actors - that is why all your event commands on an actor without name read [] instead of [name]. And that goes double since you're deleting the name anyway.


And if you have more than one such actor, you might have set the different commands on different actors without knowing that. And if the player renames (unnamed actor with ID 10) and you have the conditional branch on (unnamed actor with ID 13) then of course it won't work.
Andar, you are a fantastic genius.


Your suggestion solved the issue! And, I also scrapped the <spawn-max 5> comment tag after deleting the extra "Blank" Actors-so the enemy respawns continuously  😀  thank you!  🤣

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-respawning-a-specific-enemy-when-conditions-arent-met.69913/