Get sound to not play except if variable 0018: is equal to 1

Door 1 Stuff Page 1
Code:
Page 1 Conditions Parallel Even
if variable 0018: is >= 1

Page 1

if (variable 0018 = 1)
play sfx (sound effects) Door1
variable 0018 = 2



Door1 still plays even though
variable 0018 is at 0 not 1 any help is appreciated that will get it to where sound Door1 is played only if variable 0018 is equal to 1
Could you show a screenshot of the event please as if (variable = 1) is not correct syntax.
Could you show a screenshot of the event please as if (variable = 1) is not correct syntax.
I agree that the OP should post a screenshot, but that is actually how RPG Maker displays conditional branches.

1731071063529.png


Well, not with the parentheses.

Original thread: https://forums.rpgmakerweb.com/threads/get-sound-to-not-play-except-if-variable-0018-is-equal-to-1.173094/