Version: 1.0.77.0
Frequency: Consistently*
Severity: High
Marketplace package name: AeroSachs Tecnam P92 Echo
Context: MSFS2020 package in the community folder
**Similar MSFS 2020 issue: Nothing, it is working properly
**Bug description: The following script:
<UseTemplate Name="ASOBO_ELECTRICAL_Switch_Battery_Master_Template">
<NODE_ID>ELECTRICAL_Switch_Battery_Master</NODE_ID>
<ANIM_NAME>Battery_Master_Switch</ANIM_NAME>
<!-- This battery switch also controls avionics -->
<ON_TOGGLE_MASTER_BATTERY>
#SYNC_AVIONICS_TO_BATTERY_STATE#
(A:ELECTRICAL MASTER BATTERY:1, Bool) if{
1 (>K:ALTERNATOR_ON) }
} els{
1 (>K:ALTERNATOR_OFF) }
}
</ON_TOGGLE_MASTER_BATTERY>
</UseTemplate>
<UseTemplate Name="ASOBO_GT_Update">
<FREQUENCY>5</FREQUENCY>
<UPDATE_CODE>
#SYNC_AVIONICS_TO_BATTERY_STATE#
</UPDATE_CODE>
</UseTemplate>"
is generating the following error in the console:
Invalid script (no command is more than 4 characters): "SYNC_AVIONICS_TO_BATTERY_STATE