plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

lukecologne avatar image
lukecologne asked

Custom K events in XML

Currently, there is an issue with custom K events, such as "K:A32NX.CustomEvent", where they cannot be used in XML RPN, even though they are being registered in a WASM gauge via SimConnect. Trying to do so results in an error in the console:

customEvent.PNG

This severly limits their usefulness, and although they can be triggered in JS via SetSimVarValue, creating a sort of "relay" via JS and H events is very tedious and makes everything more complex than it needs to be.

simconnect
customevent.png (19.3 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.