euroastar350
Resource contributor
- Messages
- 863
- Country

Hi guys,
Is there a way to have a switch load in the on position when selecting the model it pertains to? I need several switches to be in the on position when loading (fuel valves, generators). here is the code I am using:
Thanks for any help given
Is there a way to have a switch load in the on position when selecting the model it pertains to? I need several switches to be in the on position when loading (fuel valves, generators). here is the code I am using:
Code:
<PartInfo>
<Name>B222_switch_mastbatt</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Code>
(L:B222_switch_mastbatt, enum) 50 *
</Code>
<Lag>300</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Master Battery</TooltipText>
<CallbackCode>
(L:B222_switch_mastbatt, enum) ! (>L:B222_switch_mastbatt, enum)
</CallbackCode>
</MouseRect>
</PartInfo>
Thanks for any help given
