I've encountered an interesting issue with player touch events that I've been banging my head against:
I have a room with multiple identical NPC's, and I want them to play a SE from a set of several SE's when touched.
So currently I have them all running a common event when touched. This common event sets a variable to random number between 0-9. Then I'm keeping it very basic by doing 10 conditional branches that check the variable and then play a different SE for each.
However, when I touch the event with the player, it triggers the CE several times instantaneously. If I use the mouse pointer to trigger the event however, it only triggers the event once, and the common event runs correctly.
So it seems like the keyboard-initiated contact is triggering the CE many times in succession, whereas forcing just a single contact works properly.
Is there any way I can fix this issue with simple eventing, either in the CE or the player touch events themselves? The events need to be infinitely repeatable, so I don't want to use self-switches. But I'm super open to suggestions

Thank you!
I have a room with multiple identical NPC's, and I want them to play a SE from a set of several SE's when touched.
So currently I have them all running a common event when touched. This common event sets a variable to random number between 0-9. Then I'm keeping it very basic by doing 10 conditional branches that check the variable and then play a different SE for each.
However, when I touch the event with the player, it triggers the CE several times instantaneously. If I use the mouse pointer to trigger the event however, it only triggers the event once, and the common event runs correctly.
So it seems like the keyboard-initiated contact is triggering the CE many times in succession, whereas forcing just a single contact works properly.
Is there any way I can fix this issue with simple eventing, either in the CE or the player touch events themselves? The events need to be infinitely repeatable, so I don't want to use self-switches. But I'm super open to suggestions

Thank you!