- Messages
- 45
- Country
Hi all,
which should be a right code for example to lights up ( emission ) a led if the alternator/generator is off ( so the engine off ) and Master ON ?
The goal is with alternator off so without charge battery , and master ON, the led lights up.
with engine and alternator running the led lights off.
I tryed but without success. Take note that I don't know how to write this instruction, I'm learning looking some default planes, and I'm not sure to understand as well the syntax and the logic.
Here one of my many test ;
<Component ID="CHARGINGLED" Node="CHARGINGLED">
<UseTemplate Name="ASOBO_GT_Material_Emissive_Code">
<EMISSIVE_CODE>(A:GENERAL ENG GENERATOR ACTIVE:1, Bool) NOT == if { 1 (A:CIRCUIT GENERAL PANEL ON, bool)</EMISSIVE_CODE>
<EMISSIVE_CODE_FACTOR>3</EMISSIVE_CODE_FACTOR>
</UseTemplate>
</Component>
Thanks for helping
which should be a right code for example to lights up ( emission ) a led if the alternator/generator is off ( so the engine off ) and Master ON ?
The goal is with alternator off so without charge battery , and master ON, the led lights up.
with engine and alternator running the led lights off.
I tryed but without success. Take note that I don't know how to write this instruction, I'm learning looking some default planes, and I'm not sure to understand as well the syntax and the logic.
Here one of my many test ;
<Component ID="CHARGINGLED" Node="CHARGINGLED">
<UseTemplate Name="ASOBO_GT_Material_Emissive_Code">
<EMISSIVE_CODE>(A:GENERAL ENG GENERATOR ACTIVE:1, Bool) NOT == if { 1 (A:CIRCUIT GENERAL PANEL ON, bool)</EMISSIVE_CODE>
<EMISSIVE_CODE_FACTOR>3</EMISSIVE_CODE_FACTOR>
</UseTemplate>
</Component>
Thanks for helping