Ability to control animation speed via ANIM Lag

I’d like to set variable door speed for my 747-8F project, IRL the door takes 3mins to open (Including locks) and I’d like to set an option in the FMC to control this door speed (Instant - default anim speed, Fast - 30s, real - 3mins)

<ANIM_LAG>
(L:Your_LVAR_Name, bool) 1 == if{
200
} else {
100
}
</ANIM_LAG>

Is something that would be nice to control the animation speed of my Interactive Point for my nose door.

personally if I had a long / slow animation that I wanted to control the speed accurately, I’d use a time variable (e.g. E:SIMULATION TIME, seconds) in the ANIM_CODE to generate the required frame number. I.e. when the animation starts I’d record the start time (i.e. write time simvar into Z:start_time) and then the frame number would be calculated as K * (sim tim - start_time) with an appropriate stop when you hit the max frame. That makes it easy to adjust the speed by changing K.

1 Like