I've been having a problem with using a picture-based menu recently... 🙁 I'm using common events and there is only one plugin involved with making it, which is Triacontane's PictureCallCommon plugin.
If an event is already playing and the player accidentally presses esc, then the menu will still appear since it's run by a parallel. I tried to fix it by turning off the menu switch once the player interacts with a separate event, but turning it off and on repeatedly in every single event ever made just feels like an incredible waste of time and seems really impractical. I then thought my problem could be easily fixed if I just used a condition dependent on whether an event is in motion. But I don't think there are any script calls that I could use for that to be the case.
TLDR; Is there an easier way of doing preventing my picture-based menu from opening without me having to turn the switch on and off all the time?
(Regular menu)
(Any event)
(What happens if the player accidentally presses esc/cancel when an event is already running)
(Common event used for enabling the menu)
If an event is already playing and the player accidentally presses esc, then the menu will still appear since it's run by a parallel. I tried to fix it by turning off the menu switch once the player interacts with a separate event, but turning it off and on repeatedly in every single event ever made just feels like an incredible waste of time and seems really impractical. I then thought my problem could be easily fixed if I just used a condition dependent on whether an event is in motion. But I don't think there are any script calls that I could use for that to be the case.
TLDR; Is there an easier way of doing preventing my picture-based menu from opening without me having to turn the switch on and off all the time?
(Regular menu)
(Any event)
(What happens if the player accidentally presses esc/cancel when an event is already running)
(Common event used for enabling the menu)