I’m trying to make it so these events only occur if a boolean is set to false (clicking any button immediately sets said boolean to true) but that seems to be ignored in this scenario. All other functions of the variable behave properly.
Everything below the point where the boolean is set to true will likely not work, because setting the boolean to false is the main condition for triggering your sound event. So, apart from changing the animation to 3 and modifying some variables, nothing else below that should occur…and if it does you’re seeing something that shouldn’t happen
edit: also i believe that the next step, since your boolean is now true the whole event will be skipped
edit2: Also, keep in mind that nothing happens instantaneously,lag does exist.
the problem I’m encountering is that the player shouldn’t be clickable after a button has been clicked, yet the line that checks the variable to do this is ignored. It’s not a problem with the events not occuring as clicking before the buttons are clicked (like it should be, these events are to make sure none of the problems created by triggering 2 events at once happen) makes the events occur exactly the way they should.
Is the variable changed anywhere else? This event might set it to true but another event could be changing it back to false.
yes as keith said the var is probbly set to false again somewhere…
or maybe there’s another event that requires the same condition but doesn’t rely on the global “buttondelete”…
*Even if they may occur as you expect, they are still incorrectly set up, and they could (almost certainly) cause you many more problems later on, when they’ll be harder to fix.
even Assassin’s Creed Syndicate seems to work…
Just for a laugh… considering it’s a AAA game.
