In the Game Editor > Menu, I put an Action List for Hotspots "when turn on" and "when turn off". The Action Lists are playing sounds as audio feedback when entering or exiting a hotspot menu.
Entering a hotspot menu works correctly, the Action List is invoked and plays the sound. But when exiting a hotspot menu, the Action List "on turn off" is invoked multiple times. That leads - in my case - to a stuttering sound at the beginning when exiting the hotspot.
I found out, that the transition time (Fade) is the problem. If it is set to zero, the problem is gone. But then, the menu has no fade effect. If you set the transition time to 1s, the sound will stutter for 1 second and then play the whole length of the audio. I think, the action list should only be fired once when exiting the hotspot menu.
Comments
I suspect that the ESC issue is because of conflicts with your UFPS. I will have to look into that.
As for the main issue, what you've given me should be enough now for me to recreate it. I'll let you know if I need anything else.
if (actionListOnTurnOff != null)
to read:
if (actionListOnTurnOff != null && !isFading)
Eventually you could also have a look at the problem, that the Action-Lists are triggered when klicking the left mouse button while staying in the hotspot area? I think this is not desired too. Perhaps the whole function "TurnOff" should not be fired when staying in the hotspot area?
Perhaps the same reason makes the flickering of Hotspot and Inventory Label when pressing the InteractionA key (or the mouse button)?