Page 1 of 1

Two outputs from one variable ?

Posted: Tue Jun 25, 2019 2:01 pm
by CAVENEY747
Hello Roar

Is it possible to assign two outputs to one variable. For example I would
like to have two warning lights for engine fire - one on the centre console
and one on the MIP (I know it's not correct, but stay with me).

I tried adding two lines to the script for the variable for two different
outputs but it wouldn't compile saying that the variable already existed.

Is it possible to specify the two outputs on the same line of code for one variable ?

Any help appreciated as I'm not an expert at writing code.

Thanks

Clive.

Re: Two outputs from one variable ?

Posted: Wed Jun 26, 2019 10:05 pm
by mvr1918
I have no time to write the code , but...

add a new variable and connect that to a specific output

add code so that this new variable always is a copy of the original variable

Re: Two outputs from one variable ?

Posted: Thu Jun 27, 2019 12:54 pm
by CAVENEY747
I was not expecting you to write the code, but
thanks for the reply.