- Messages
- 95
- Country

I've pasted below some xml code that I'm using for an antiskid system light. The light is set to 'appear' or 'turn on' a half of a second after I click the switch and in that regard it works fine. Having read about timers on here and remain somewhat confused about how they work, I'm wondering if someone can shed a little light on this code. What I need to know is..... is the code below all I need ? I read somewhere that a timer has to be reset once it's job is done, otherwise FS will continue to run the counter as a recurring loop. Do I need to do that in this case ? If so, how would that be done ?
I'd like to use several more timers like this on some other cockpit lights and I need to make sure they wont drag the sim to it's knees
Thanks for any help or tips.
Skip.
I'd like to use several more timers like this on some other cockpit lights and I need to make sure they wont drag the sim to it's knees
Thanks for any help or tips.
Skip.
Code:
<PartInfo>
<Name>L200_ASKID_LITE</Name>
<Visibility>
<Parameter>
<Code>
(A:GENERAL ENG GENERATOR ACTIVE:1, bool) 1 ==
(A:ELECTRICAL BATTERY VOLTAGE, volts) 26.5 >
(A:ANTISKID BRAKES ACTIVE, bool) 0 ==
and
and
(L:L200_SWITCH_BATT_MASTER, bool) 100 *
(A:ELECTRICAL BATTERY VOLTAGE, volts) 26.5 >
(L:L200_ROUNIT_test_button, bool) 1 ==
and
and
or
if{ (E:ABSOLUTE TIME, seconds) 0.5 + (>L:L200Timer1,enum) }
(L:L200Timer1,enum) (E:ABSOLUTE TIME, seconds) >
</Code>
</Parameter>
</Visibility>
</PartInfo>
Last edited:


