Version: *1.6.5 SDK 1.5.2
Frequency: Consistently*
Severity: *Low
(Low - quality of life, workflow optimization, rare enough to not impact production, etc…
High - critical but workarounds are available, important feature not working as expected, frequent enough to impact production
Blocker - prevents from working on the project, prevents from releasing the product)
Marketplace package name: if applicable
Context: What package? When editing or mounted from Community? In main menu or in flight? etc…
Similar MSFS 2020 issue: insert url here if applicable
Bug description:
The description of the ASOBO_Get_Enum_Parameters_Helper function shows that it is a “get and set” for the enum values, when it should be a “check and set”.
The return is a
SET_POS_#
and a
IS_POS _#
as the description for GET implies.
Second:
The tag OUT_PARAM_ID is not in the ASOBO_Light_Navigation_Parameters or ASOBO_Light_Strobe_Parameters
<UseParametersFn Name="ASOBO_Light_Navigation_Parameters">
<OUT_PARAM_ID>POSITION</OUT_PARAM_ID>
</UseParametersFn>
<UseParametersFn Name="ASOBO_Light_Strobe_Parameters">
<OUT_PARAM_ID>STROBE</OUT_PARAM_ID>
</UseParametersFn>
I believe it should be OUT_PARAM_SUFFIX as there is no OUT_PARAM_ID in those functions.
ASOBO_Light_Navigation_Parameters calls ASOBO_Light_Default_Parameters
and that returns
<ReturnParameters>
<TOGGLE_LIGHT#OUT_PARAM_SUFFIX#>#TOGGLE_LIGHT#</TOGGLE_LIGHT#OUT_PARAM_SUFFIX#>
<SET_LIGHT#OUT_PARAM_SUFFIX#>#SET_LIGHT#</SET_LIGHT#OUT_PARAM_SUFFIX#>
<GET_LIGHT#OUT_PARAM_SUFFIX#>#GET_LIGHT#</GET_LIGHT#OUT_PARAM_SUFFIX#>
<GET_LIGHT#OUT_PARAM_SUFFIX#_ON>#GET_LIGHT_ON#</GET_LIGHT#OUT_PARAM_SUFFIX#_ON>
<SET_LIGHT#OUT_PARAM_SUFFIX#_INTENSITY>#SET_LIGHT_INTENSITY#</SET_LIGHT#OUT_PARAM_SUFFIX#_INTENSITY>
<GET_LIGHT#OUT_PARAM_SUFFIX#_INTENSITY>#GET_LIGHT_INTENSITY#</GET_LIGHT#OUT_PARAM_SUFFIX#_INTENSITY>
<SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_SWITCH>#SIMVAR_LIGHT_SWITCH#</SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_SWITCH>
<SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_ON>#SIMVAR_LIGHT_ON#</SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_ON>
<SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_POWER_SETTING>#SIMVAR_LIGHT_POWER_SETTING#</SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_POWER_SETTING>
<SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_INTENSITY>#SIMVAR_LIGHT_INTENSITY#</SIMVAR_LIGHT#OUT_PARAM_SUFFIX#_INTENSITY>
</ReturnParameters>
that leads to the #GET_LIGHT_POSITION# and #GET_LIGHT_STROBE# variables.
I did not code this and test - just trying to follow the example through the xml functions, and it looked incorrect to me. Am I missing some other function in the chain?
A bit of inconsistency in coding, but can’t be changed. Other Parameterfn xml has OUT_PARAM_ID
Repro steps:
Attachments:
Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content
