- Messages
- 1,468
- Country

This problem has been ongoing for a couple of days and I would like someone to analyse the coding to see what's going wrong.
I have 5 variable that all must be anded. If they are all in agreement then 2 other variables are activated. These past couple of days something strange has been happening. Everything seems to work. Tested numerous times and then suddenly only the (L:Sound_Fire,enum) variable works. The only way to rectifiy it is to change the first variable. It works for a while, tested and then only the sound variable works again. So perhaps FS9 is having difficulty in interpreting the coding. so what I need is a cast iron coding that ensures the criteria are met every time.
The vars in green must all agree so that both the vars in red are activated and not just one. Perhaps someone could also explain why always the sound var is activated correctly.
many thanks vololiberista
I have 5 variable that all must be anded. If they are all in agreement then 2 other variables are activated. These past couple of days something strange has been happening. Everything seems to work. Tested numerous times and then suddenly only the (L:Sound_Fire,enum) variable works. The only way to rectifiy it is to change the first variable. It works for a while, tested and then only the sound variable works again. So perhaps FS9 is having difficulty in interpreting the coding. so what I need is a cast iron coding that ensures the criteria are met every time.
The vars in green must all agree so that both the vars in red are activated and not just one. Perhaps someone could also explain why always the sound var is activated correctly.
many thanks vololiberista
Code:
<Element>
<Select>
<Value>
[COLOR="Lime"](E:LOCAL DAY OF MONTH, enum) 19 == (E:ZULU TIME, hours) 12 > and (A:SIM ON GROUND, bool) 0 == and (L:ENG1 FIRE EXT,bool) 0 == (L:FIRE HANDLE 1 PULLED,number) 0 == and and [/COLOR]if{ [COLOR="Red"]1 (>L:EF_1,number) 2 (>L:Sound_Fire,enum)[/COLOR] } els{ 0 (>L:EF_1,number) }
</Value>
</Select>
</Element>


