- Messages
- 128
Hi,
I finaly receved a reply on how to put an effect activated by rain.
But the only problem... it don't work.
There is the xml code I've receved:
(http://www.flightsimworld.com/forums/index.php?showtopic=120112)
Now, I would like to know how to build this in an xml file to get it work
Thank you
Keven
I finaly receved a reply on how to put an effect activated by rain.
But the only problem... it don't work.
There is the xml code I've receved:
(http://www.flightsimworld.com/forums/index.php?showtopic=120112)
Value:
(A:FLAPS HANDLE INDEX,number) 3 > &&
(A:AMBIENT PRECIP STATE,type) RAIN &&
if{ (A:SMOKE ENABLE,bool) !
(A:SIM ON GROUND,bool) !
(A:AIRSPEED INDICATED,knot) 45 > (A:AIRSPEED INDICATED,knot) 145 < && == if{ 0 (>K:SMOKE_TOGGLE) }
1 (>G:Var1) 0 (>G:Var2) }
els{ 0 (>G:Var1) }
Value:
(G:Var1) !
(G:Var2) ! &&
if{ 1 (>G:Var2) (A:SMOKE ENABLE,bool) if{ 0 (>K:SMOKE_OFF) }
Now, I would like to know how to build this in an xml file to get it work
Thank you
Keven