Buttons in battles?

● ARCHIVED · READ-ONLY
Started by frederik850 4 posts View original ↗
  1. I created a common event where the player has to press the "x" button in a certain amount of time during a battle. The problem is that the system doesn't react. I honestly don't know why. I guess it's possible to use button branches in a battle? If so,can someone give me an explanation or a solution? Thanks in advance.

    Naamlo5os.png
  2. No, your problem comes from another side.


    The condition "button pressed" checks if the button is pressed in that millisecond when the command is executed - pressing it before or after that millisecond will not trigger it.


    And a common event is called at a specific time - you can't even loop it inside battleturns - why didn't you put those commands into a troop event? And what exactly calls that common event?


    Depending on what you want to do with the buttons it might be better to use a script however, there are several available for different effects in battles - just look through the master script list. Galv for example wrote a script where a button sequence before the battle can give the actors advantages or disadvantages...
  3. In the meantime I solved the issue. Apperently it had something to do with the labels, because when I removed the labels "succes and "failure" and places the content directly under the conditional branches in the loop the problem dissapeared. 
  4. I doubt what you said solved the problem, because everything Andar says is true. There is NO WAY that common event, as shown in your screenshot is going to be called, unless you have a Call Common Event command in your troop's event page.


    But if you say it's working now, I guess that's the main thing ...


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.