Can someone please show me how to impliment this?
If I want to activate this section of script...
Script file name is DukeEngineS.lua
What would the HiD script look like?
Code: Select all
if ipcPARAM == 59 then -- Down One Position LVarSet = "L:Duke_Cowl_Flaps_Switch_2" val = 2 if ipc.readLvar(LVarSet) == 0 then val = 1 elseif ipc.readLvar(LVarSet) == 1 then val = 2 end ipc.writeLvar(LVarSet, val) end
Please forgive me for asking what must be simple things... after my head injury I just can't seem to learn easily. I know I should be able to figure it out but I can't seem to grasp it.