Hi again,
Pete Dowson, on 11 Jan 2014 - 7:59 PM, said:
It was =Yes.
Then I've changed it to No and tried again. No difference. I've reset to Yes.
Pete Dowson, on 11 Jan 2014 - 7:59 PM, said:
I have sent to you both simconnect logs and both FSUIPC4 logs with FSUIPC.ini as well.
Pete Dowson, on 11 Jan 2014 - 7:59 PM, said:
All combinations Shift+E+1, 2, 3 or 4 open only main exit. I actually never knew whether you should press all 3 buttons together or Shift+E first and then 1.
I've always used the following lua script for this:
function BG_Doors_set(mask, onoff, str)
if str == nil then
str = "Door"
end
local val = ipc.readUB(0x3367)
if onoff == 0 then
mask = 255 - mask
val = logic.And(val, mask)
ipc.writeUB(0x3367, val)
DspShow(str, "Clsd")
else
val = logic.Or(val, mask)
ipc.writeUB(0x3367, val)
DspShow(str, "Open")
end
end
function BG_Doors_toggle_masked(mask, str)
if BG_Doors_check_closed(mask) then
BG_Doors_set(mask,1,str)
else
BG_Doors_set(mask,0,str)
end
end
function BG_Doors_1_toggle()
BG_Doors_toggle_masked(1, "Dor1")
end
Dejan