Hello, I need a little help finding why the expressions I'm putting in won't work to trigger the animation. I made an animated hangar door and placed this trigger to activate it: <ANIM_CODE>(L:LIGHTING_TAXI_1,Bool) 1 == if{ 100 } els{ 0 }</ANIM_CODE> on the XML file, and it works. The issue I have is that it only works with certain planes that have that exact expression. If it doesn't have it, then the animation won't trigger. What I want to do is put an expression that all airplanes have. I was thinking of a transponder code or a radio frequency. I tried hiding the yoke, but it turns out there are more than one expression that hides the yoke. Another thing that's happening is that MSFS 2024 gives variable types that I've never seen before, like (L:LIGHTING_TAXI_1,Bool) 1 == if{ 100 } els{ 0 }. When I test it with SpadNext, This one uses a "B" instead of the "L" variable type But if I put the "B" variable type at the beginning of the expression, like (B:LIGHTING_TAXI_1,Bool), it won't work, so I don't know why this is happening.
Last edited:

