- Messages
- 10,163
- Country

Hey all,
I need some help. This is for a Gmax part animation, and a button that would control it.
I need to control a part by its key frames. It moves from zero, to 50, to 100 KF's, similar to a flap.
It is a custom L:var
It has a switch as well. The button makes the part go to KF50, then to KF 100, then back to KF zero.
There is an argument condition based on speed;
* If at 120 Knots >, and at 50 KF >, then go to 0 zero KF.
On the button, it would include a code string that locks the window at zero KF so you cannot lower it at 120 Knots and greater than.
* If at 120 Knots >, 0 KF
Now... My thoughts were to use an Enum with;
50 KF 0 ==
100 KF 1 ==
zero KF 2 ==
But, I have two 'quantities' occurring; key frame amount 'plus' an enum which enables 3 positions.
Also, the window must be at zero KF when bootup of the plane occurs, (windows up at bootup).
So, how would you work this? Can I use KF's? Should I use 'enum' and if I use enum, my issue then is how would I work the animations to come out at 50 KF's and 100 KF's. The animation of the part being animated (not the button, but the surface panel) is that it must move in a very smooth fashion, which will require many KF points, such as maybe 10 lock points or angle points.
How would you work this?
I need some help. This is for a Gmax part animation, and a button that would control it.
I need to control a part by its key frames. It moves from zero, to 50, to 100 KF's, similar to a flap.
It is a custom L:var
It has a switch as well. The button makes the part go to KF50, then to KF 100, then back to KF zero.
There is an argument condition based on speed;
* If at 120 Knots >, and at 50 KF >, then go to 0 zero KF.
On the button, it would include a code string that locks the window at zero KF so you cannot lower it at 120 Knots and greater than.
* If at 120 Knots >, 0 KF
Now... My thoughts were to use an Enum with;
50 KF 0 ==
100 KF 1 ==
zero KF 2 ==
But, I have two 'quantities' occurring; key frame amount 'plus' an enum which enables 3 positions.
Also, the window must be at zero KF when bootup of the plane occurs, (windows up at bootup).
So, how would you work this? Can I use KF's? Should I use 'enum' and if I use enum, my issue then is how would I work the animations to come out at 50 KF's and 100 KF's. The animation of the part being animated (not the button, but the surface panel) is that it must move in a very smooth fashion, which will require many KF points, such as maybe 10 lock points or angle points.
How would you work this?
