- Messages
- 497
- Country

I am trying to figure out what this XML is doing ? (and why )
It is in an XML Guage for a RED BULL type aircraft, that has no modeled Spoilers. I assume the plane flies as if it had invisible Spoilers ?
I want to MODIFY this XML, so that it does NOT keep sending out a value for K:SPOILER_SET each time the Gauge is run (18 / sec) ( and flooding Multiplayer with Unneccesary data )
If the Value of the SPOILER Handle has not changed, then I do not want it to trigger the Event to set the SPOILER Handle to the same value that it is already at.
( I may also be setting the Gauge to run once / seconds)
One part that really confuses me is
if (-A:RECIP ENG1 BRAKE POWER,ft lb per second > 16383)
Totally confused.
Geoff
Code:
(A:RECIP ENG1 BRAKE POWER,ft lb per second) 0 >
if{ 0 (>K:SPOILERS_SET,numbers) }
els
{
(A:RECIP ENG1 BRAKE POWER,ft lb per second) /-/ 16383 >
if
{ 16383 (>K:SPOILERS_SET,numbers) }
els
{ (A:RECIP ENG1 BRAKE POWER,ft lb per second) /-/ (>K:SPOILERS_SET,numbers) }
}
It is in an XML Guage for a RED BULL type aircraft, that has no modeled Spoilers. I assume the plane flies as if it had invisible Spoilers ?
I want to MODIFY this XML, so that it does NOT keep sending out a value for K:SPOILER_SET each time the Gauge is run (18 / sec) ( and flooding Multiplayer with Unneccesary data )
If the Value of the SPOILER Handle has not changed, then I do not want it to trigger the Event to set the SPOILER Handle to the same value that it is already at.
( I may also be setting the Gauge to run once / seconds)
One part that really confuses me is
Code:
(A:RECIP ENG1 BRAKE POWER,ft lb per second) /-/ 16383 >
if
if (-A:RECIP ENG1 BRAKE POWER,ft lb per second > 16383)
Totally confused.
Geoff

