majky Posted June 11, 2019 Share Posted June 11, 2019 Hello, I was wondering if anyone can help. Ive been experimenting for some time with no succes so far. I need a xml code to be "activated" when 4 conditions are met. all 4 of em, 3 is not enough. my idea is to make 2x "L" each out of 2x "A" and than put those 2 "L"s together with a result but it doesnt work :( here is an example: (A:AAAA,feet/minute) 50 > (A:BBBB,knot) 50 L:ABAB, bool) } els{ 0 (>L:ABAB, bool) } -5 5 (A:CCCC, degrees) rng; -5 5 (A: DDDD, degrees) rng; && if{ 1 (>L:CDCD, bool) } els{ 0 (>L:CDCD, bool) } (L:ABAB, bool) 1== (L:CDCD, bool) 1== && if{ 50 (>K:xx_yy_zz) } first or second line works separatly, but not together as I would like it to. any advices? Link to comment Share on other sites More sharing options...
andiroto Posted June 11, 2019 Share Posted June 11, 2019 Hello, First, i would make a space between 1 and "is equal" (1 ==) then remove all ; behind "rng"! All in all it should look like this: (A:AAAA,feet/minute) 50 > (A:BBBB,knot) 50 L:ABAB, bool) } els{ 0 (>L:ABAB, bool) } -5 5 (A:CCCC, degrees) rng -5 5 (A:DDDD, degrees) rng && if{ 1 (>L:CDCD, bool) } els{ 0 (>L:CDCD, bool) } (L:ABAB, bool) 1 == (L:CDCD, bool) 1 == && if{ 50 (>K:xx_yy_zz) } Link to comment Share on other sites More sharing options...
majky Posted June 11, 2019 Author Share Posted June 11, 2019 wow, that was quick and it works! :D thanx bro :o Link to comment Share on other sites More sharing options...
Recommended Posts