mirror of
https://github.com/weyne85/DCS-ExportScripts.git
synced 2025-10-29 16:58:18 +00:00
Adds a scratchpad output to the A10C II Profile
This commit is contained in:
@@ -833,6 +833,16 @@ function ExportScript.Tools.split(stringvalue, delimiter)
|
||||
return result;
|
||||
end
|
||||
|
||||
-- This function turns a 'nil' value into an empty string.
|
||||
-- Courtesy of https://github.com/pet333r/pw-dev_script
|
||||
function ExportScript.Tools.coerce_nil_to_string(value)
|
||||
if value == nil then
|
||||
return ""
|
||||
else
|
||||
return value
|
||||
end
|
||||
end
|
||||
|
||||
-- the function checks whether the cockpit light should be activated in ikarus on the basis of the parameters
|
||||
-- functional parameters, a single ID, or a table with IDs
|
||||
function ExportScript.Tools.IkarusCockpitLights(mainPanelDevice, ExportIDs)
|
||||
|
||||
Reference in New Issue
Block a user