Two outputs from one variable ?

This is a new forum for the OC4BAv4.
Post Reply
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Two outputs from one variable ?

Post 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.
mvr1918
Site Admin
Posts: 1633
Joined: Thu Aug 30, 2012 3:35 pm

Re: Two outputs from one variable ?

Post 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
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Re: Two outputs from one variable ?

Post by CAVENEY747 »

I was not expecting you to write the code, but
thanks for the reply.
Post Reply