- Messages
- 189
- Country

Hello !
I want to use this code from the SDK to select tanks : lever_fuel_selector_LBRO, but with modification to OLRB. The knob animated to 75 frames :
0 = Off
25 = Left
50 = Right
75 = Both
Can somebody explain the logic of the code ? I WANT to understand it first, after that I will modify it
I want to use this code from the SDK to select tanks : lever_fuel_selector_LBRO, but with modification to OLRB. The knob animated to 75 frames :
0 = Off
25 = Left
50 = Right
75 = Both
Can somebody explain the logic of the code ? I WANT to understand it first, after that I will modify it
Code:
<PartInfo>
<Name>lever_fuel_selector_LBRO</Name>
<AnimLength>75</AnimLength>
<Animation>
<Parameter>
<Code>0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 3 21 (A:FUEL TANK SELECTOR:1, enum) case 25 *</Code>
<Lag>100</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID>HELPID_GAUGE_FUEL_SELECTOR</HelpID>
<TooltipID>TOOLTIPTEXT_FUEL_SELECTOR</TooltipID>
<MouseFlags>LeftSingle</MouseFlags>
<CallbackCode>
0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 16 0 2 3 21 (A:FUEL TANK SELECTOR:1, enum) case (>K:FUEL_SELECTOR_SET)
</CallbackCode>
</MouseRect>
</PartInfo>






