Milton_Shupe
Resource contributor
- Messages
- 331
- Country

Is this possible?
I have one Inertial Separator switch and it needs to activate for both engines.
This is the visibility code for one switch that shows different textures for on switch/off switch.
<!-- inertial_seperator -->
<part>
<name>vis_sw_inertsepoff</name>
<visible_in_range>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) 0 ==
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
<animation>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) if{ 50 } els{ 0 }
</code>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_id>TOOLTIPTEXT_INERTIAL_SEPERATOR</tooltip_id>
<event_id>ANTI_ICE_TOGGLE_ENG1</event_id>
<event_id>ANTI_ICE_TOGGLE_ENG2</event_id>
</mouserect>
</part>
<part>
<name>vis_sw_inertsepon</name>
<visible_in_range>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) 1 ==
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
<animation>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) if{ 50 } els{ 0 }
</code>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_id>TOOLTIPTEXT_INERTIAL_SEPERATOR</tooltip_id>
<event_id>ANTI_ICE_TOGGLE_ENG1</event_id>
<event_id>ANTI_ICE_TOGGLE_ENG2</event_id>
</mouserect>
</part>
I have one Inertial Separator switch and it needs to activate for both engines.
This is the visibility code for one switch that shows different textures for on switch/off switch.
<!-- inertial_seperator -->
<part>
<name>vis_sw_inertsepoff</name>
<visible_in_range>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) 0 ==
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
<animation>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) if{ 50 } els{ 0 }
</code>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_id>TOOLTIPTEXT_INERTIAL_SEPERATOR</tooltip_id>
<event_id>ANTI_ICE_TOGGLE_ENG1</event_id>
<event_id>ANTI_ICE_TOGGLE_ENG2</event_id>
</mouserect>
</part>
<part>
<name>vis_sw_inertsepon</name>
<visible_in_range>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) 1 ==
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
<animation>
<parameter>
<code>
(A:ENG ANTI ICE:1,bool) if{ 50 } els{ 0 }
</code>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_id>TOOLTIPTEXT_INERTIAL_SEPERATOR</tooltip_id>
<event_id>ANTI_ICE_TOGGLE_ENG1</event_id>
<event_id>ANTI_ICE_TOGGLE_ENG2</event_id>
</mouserect>
</part>



