- Messages
- 10,158
- Country

Hey all,
This one is beyond me. Hoping for some advice and help.
Part (dial and part) start in the 50% point. You turn the knob and the part slides up or down, depending on mouseup or mousedown, or by right click/left click.
But... It has to start at the 50% point.
How does one write that into the code for the part to begin at KF point 50 out of 100 KF's?
I have a zillion (ok, only a begillion) codes in my inventory, and none have something like this, though I do remember similar. It was my Learjet generator switch, but it used mouse drag and M:Y movements. Totally different. On this, the part is a dial and a wing alignment on a Attitude gauge. You turn the dial and the wings slide upwards or downwards.
Any idea's?
This is what I am starting with.
This one is beyond me. Hoping for some advice and help.
Part (dial and part) start in the 50% point. You turn the knob and the part slides up or down, depending on mouseup or mousedown, or by right click/left click.
But... It has to start at the 50% point.
How does one write that into the code for the part to begin at KF point 50 out of 100 KF's?
I have a zillion (ok, only a begillion) codes in my inventory, and none have something like this, though I do remember similar. It was my Learjet generator switch, but it used mouse drag and M:Y movements. Totally different. On this, the part is a dial and a wing alignment on a Attitude gauge. You turn the dial and the wings slide upwards or downwards.
Any idea's?
This is what I am starting with.
Code:
<PartInfo>
<Name>CH70_attitude_wings</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>(L:ATTITUDE WINGS ALIGNMENT SETTING,bool) 100 *</Code>
<Lag>950</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<MouseFlags>LeftSingle+WheelUp+WheelDown+RightSingle</MouseFlags>
<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 ==
if{
(>L:ATTITUDE WINGS ALIGNMENT SETTING,bool)
}
(M:Event) 'RightSingle' scmp 0 ==
if{
(>L:ATTITUDE WINGS ALIGNMENT SETTING,bool)
}
(M:Event) 'WheelUp' scmp 0 ==
if{
(>L:ATTITUDE WINGS ALIGNMENT SETTING,bool)
}
(M:Event) 'WheelDown' scmp 0 ==
if{
(>L:ATTITUDE WINGS ALIGNMENT SETTING,bool)
}
<TooltipText>Attitude Wings Adjustment</TooltipText>
</CallbackCode>
</MouseRect>
</PartInfo>