Hi, just a quick question to see if this SDK page is still being worked on? It could use some explanation on how to actually make any of the interactions perform a function. Right now, it helps you make a button/switch/lever move, but doesn’t tell you how to make it set simvars or key events
+1 for the question - these templates are a good attempt at value-add but the simple core functionality in the sim can get obscured. TBH I can’t even see how the basic ‘button’ template makes an animation move so the OP is way smarter than me there.
The ‘simple interaction template’ might be a common base (map a clickspot to a node, detect the click, execute some RPN) but that’s actually difficult to work out from the docs (below). Some docs API that has you clicking through template after template to try and work out what each template is actually for and what arguments it may or not need is pretty awful (sorry).
I do understand how these templates are designed to help people who otherwise would struggle to program a multi-position switch but IMHO it would be more optimal to have much better documentation for the half-dozen (max) basic templates from which pretty much any other gauge/animation programming could be derived, and then best efforts on the huge volume of other optional templates.