I have an addon in the store that does exactly what has been mentioned.
construct.net/en/game-assets/addons/publish-subscribe-events-2497
Develop games in your browser. Powerful, performant & highly capable.
Ah, nice! Thanks rhg1968!