Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.
How do I…
I have a turn based battle system for up to 4 players vs. 1 enemy, it functions well so far but the skip turn button softlocks the game when it’s triggered on the first frame of being visible (and therefore clickable), but only sometimes??
What is the expected result
when testing in 1 player modem the player enters a battle, and the cursor is already clicking where the skip button is at, the skip button should trigger the first frame its available, skipping that player’s turn and, as theres no players left to take their turns, making the enemy attack with its complete attack logic.
What is the actual result
the skip butoon is pressed on the first frame, making it the enemy’s turn so the enemy says its pre-attack dialogue, the dialogue disappears, but the attack never happens, the battletext object never says “Giac attacks [player]” but instead stays on “You skipped your turn.” and the 3 hp is never deducted from kris’ hp
Related screenshots
edit: any needed info or code can be provided upon request. anything to get this to work!



