- Messages
- 140
- Country
-
Hi all. Working on getting my starters working for my S2T project. I found a code on here digging through other threads that seams to work but not all the way.
Went I click the start button the engine spins up but never fires off, the starter just keeps running. Any hint on where the error is in my code?
Went I click the start button the engine spins up but never fires off, the starter just keeps running. Any hint on where the error is in my code?
Code:
<Animation name="s2t_switch_eng_1_start_button" guid="1e578422-73aa-4ef7-9daf-d845eb2db288" length="1" type="Sim" typeParam2="s2t_switch_eng_1_start_button" typeParam="AutoPlay" />
<PartInfo>
<Name>s2t_switch_eng_1_start_button</Name>
<AnimLength>1</AnimLength>
<Animation>
<Parameter>
<Code>
<!-- LEFT ENGINE -->
(L:s2t_switch_eng_1_start_button,bool) 1 ==
(A:GENERAL ENG STARTER:1,bool) 0 ==
and
if{ (>K:TOGGLE_STARTER1) }
<!-- COMBUSTION -->
(A:GENERAL ENG COMBUSTION:1,bool)
(L:s2t_switch_eng_1_start_button,bool) 1 == and
if{ (>K:TOGGLE_STARTER1) 0 (>L:s2t_switch_eng_1_start_button, enum) }
</Code>
<Lag>200</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID></HelpID>
<TooltipText>ENGINE_1_START</TooltipText>
<TooltipID></TooltipID>
<MouseFlags>WheelDown+WheelUp+LeftRelease+RightRelease+LeftDrag+RightDrag+LeftSingle+RightSingle</MouseFlags>
<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 ==
if{
(L:s2t_switch_eng_1_start_button, bool) ! (> L:s2t_switch_eng_1_start_button, bool)
(L:s2t_switch_eng_1_start_button, bool) 0 ==
}
</CallbackCode>
</MouseRect>
</PartInfo>

