Hello,
As someone with (a little) Javascript experience, I'd like some help with understanding how I can implement a custom "wait" function in an event script for MV. Essentially, it would be very similar to what HimeWorks has implemented here (all credit to them) - which halts event processing until a given condition is met.
I have done my best to look for answers for both MV and Javascript generally, but I can't find anything which is compatible or feasible. I don't want to have to do a loop which checks every few seconds, so if anyone has a better answer, please tell me! Thank you!
As someone with (a little) Javascript experience, I'd like some help with understanding how I can implement a custom "wait" function in an event script for MV. Essentially, it would be very similar to what HimeWorks has implemented here (all credit to them) - which halts event processing until a given condition is met.
I have done my best to look for answers for both MV and Javascript generally, but I can't find anything which is compatible or feasible. I don't want to have to do a loop which checks every few seconds, so if anyone has a better answer, please tell me! Thank you!