Hello guys!
I'm using IgnisTouchPictures to call an event.
The problem is that when I talk to some npc or some automatic event is happening, the picture can be clicked and the event happens.
I know there is a way to disable the function, but it would be too much work and sometimes I might forget to manually disable each npc with automatic texts or events.
So I would like to know if anyone knows a code that checks if some event is happening, so that when I click on the image I put it to cut the event from the picture.
I've tried using this code, but it's not accurate: $gameMap.events().some(ev => ev._interpreter?.isRunning())
I'm using IgnisTouchPictures to call an event.
The problem is that when I talk to some npc or some automatic event is happening, the picture can be clicked and the event happens.
I know there is a way to disable the function, but it would be too much work and sometimes I might forget to manually disable each npc with automatic texts or events.
So I would like to know if anyone knows a code that checks if some event is happening, so that when I click on the image I put it to cut the event from the picture.
I've tried using this code, but it's not accurate: $gameMap.events().some(ev => ev._interpreter?.isRunning())