W: Events from js or RPN

Hi, I’ve noticed in the SDK that Wwise events can be triggered from RPN code
via W:Events. I’ve been attempting to get this to work by executing RPN code
from JS, but with no luck. The SDK does not describe whether there is any
setup required in the sound.xml to get these W events to trigger. Has anyone
been able to get W: Events working from either JS or RPN that can share any
insights? Thanks Dan FlyingIron Sims

You can trigger sounds more directly in JS with
Coherent.call("PLAY_INSTRUMENT_SOUND", sound.name). SoundServer might also
be of interest if you’re using the avionics framework
<https://microsoft.github.io/msfs-avionics-
mirror/docs/framework/classes/index.SoundServer,>
<https://microsoft.github.io/msfs-avionics-
mirror/docs/framework/classes/index.SoundServerController>

Just what I needed, thanks! Got it working once I realized it needed to be
defined as an avionic sound in the sound.xml Cheers Dan