Hi, I made this switch animation in modeldef. I want to know what I need to do so the switch starts to turn on when the sim starts. Its an on-off switch, but I would like it to be on when the sim starts.
Thanks!
<PartInfo>
<Name>switch_pedcom_left_330</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Code> (L:switch_pedcom_left_330,bool) 50 *</Code>
<Lag>400</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Communications Power</TooltipText>
<MouseFlags>LeftSingle+RightSingle</MouseFlags>
<CallbackCode>
(L:switch_pedcom_left_330, bool) ! (>L:switch_pedcom_left_330, bool)
1 (>L:Switch Finger Sound rik,number)
</CallbackCode>
</MouseRect>
</PartInfo>
Thanks!

