Did I read it correctly that with ipc.set and ipc.get I can set a set and read a lua global and have it read across client computers?
If so, I haven't been able to accomplish this with rudimentary script below. I can achieve it if done on the same client computer, but not across PC's.
The computers I use have been a working stable platform in my 737 sim for many years using FSUICP and wideclient. So my thoughts are that I am not writing the script correctly or that the global isn't able to be sent from one computer to another.
function Gate ()
extpwravail=logic.And(pwr,1) -- (1) External power available
if (extpwravail==1) and (SeatBeltOn) then
ipc.display("Boarding in progress", 3, 15)
event.offsetmask(0x562A,1,"UB","Gate") -- Extpwravail
event.offset(0x5640,"UB","Gate") -- SeatBelts
function xcomm ()
callgnd=logic.And(call,1)~=0 -- (1) ground call button. bit 1
if (com==1) and (callgnd) then
event.offsetmask(0x5646,1,"UB","xcomm") -- (1) ground call 1