So I made a screen button in my map that is used to save a bank. I've only made one action to make the screen button at the map initialization. This button is shown after only when the player loaded the bank through a dialogue. For some reason when I am pressing the screen button, the trigger seems to be firing twice (indicated by my UI text appearing twice when there's only one of that action). Does anyone know why it could be firing twice?
So I made a screen button in my map that is used to save a bank. I've only made one action to make the screen button at the map initialization. This button is shown after only when the player loaded the bank through a dialogue. For some reason when I am pressing the screen button, the trigger seems to be firing twice (indicated by my UI text appearing twice when there's only one of that action). Does anyone know why it could be firing twice?
Try to turn off trigger at trigger begining and turn it on at the end of the trigger.
Write how you do it in Event and Condition in this trigger
You could either use a variable to mark the button press (that works for me in every case) or use critical section.