Event for FSUIP: "MAGNETO START" ?
-
@SMN204 could you more precisely define "doesn't work correctly"? :)
What I do, is I have two buttons for each magneto (L/R) to increase or decrease the switch position from OFF all the way to START or backwards. Also on release of the increment button, if it was in position 4 (start), it goes down to 3 (both).
And I set the switches using using the same LVar you mentioned with values from 0 for OFF to 4 for START.
Oh, now I see the trick in my script. I override the timer which automatically returns the switches from START to BOTH position. Try this:Magneto_Left_Start#4 (>L:BKSQ_IgnitionPosition_1, number) (E:SIMULATION TIME, seconds) 60 + (>L:starterKnobReturnTime_L, number)
Magneto_Right_Start#4 (>L:BKSQ_IgnitionPosition_2, number) (E:SIMULATION TIME, seconds) 60 + (>L:starterKnobReturnTime_R, number)
(it will still return back from START to BOTH automatically but only after 60s)
And for extra touch, bind this to key release, to release the starter when you release the button:
Magneto_Left_Both#3 (>L:BKSQ_IgnitionPosition_1, number)
(repeat for right one)
Let me know how it goes.
Cheers. -
@Randolf said in Event for FSUIP: "MAGNETO START" ?:
could you more precisely define "doesn't work correctly"? :)
Not correct, that is. it is:
When I use "
"Magneto_Left_Start#4 (>L:BKSQ_IgnitionPosition_1, number)", the starter works, but!!! the spark plugs work differently and incorrectly than when I turn the mouse magneto control knob to the right! And the engine won't start!When starting with the mouse - start engine OK
Video1 Start with script
https://youtube.com/shorts/WmlXKMHY34Y?feature=shareVideo2 Star with mouse
https://youtube.com/shorts/TByGVkJNWIQ?feature=share -
-
@Randolf said in Event for FSUIP: "MAGNETO START" ?:
I see. Did you set the button to auto-repeat? Your starter operation is being interrupted between automatic return of the starter switch and your button repeat activation. Try changing your scripts as suggested above.
This may have to do with the FSUIPC settings. I'm holding down the non-latching switch...
With your scripts
Magneto_Left_Start#4 (>L:BKSQ_IgnitionPosition_1, number) (E:SIMULATION TIME, seconds) 60 + (>L:starterKnobReturnTime_L, number)- OK!!
- OK!!