Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Babs737 a dit:Je me suis aperçu en faisant un test à LFMN (nice) que lorsque je suis sur la 4R, que j'ai des maisons et des arbres à ma droite au lieu de la mer.?
Silverstar a dit:La logique de Prosim passe par lAnticollision et ouvre/ferme toutes les portes en meme temps.
Avec le script de Stephane, tu peux ouvrir les portes indépendamment.
[== Indéfini ==]
----------------------------------------------
-- ProSim 2.0 dynamic lights
----------------------------------------------
function LightsCLEAR()
ipc.clearbitsUB(0x5301, 1)
ipc.clearbitsUB(0x5301, 2)
ipc.clearbitsUB(0x5301, 4)
ipc.clearbitsUB(0x5301,
ipc.clearbitsUB(0x5301, 16)
ipc.clearbitsUB(0x5301, 32)
ipc.clearbitsUB(0x5301, 64)
ipc.clearbitsUB(0x5301, 12
end
event.sim(ANY, "LightsCLEAR")
-----------------------------------------------------------
function LandingLight_Left (off, val)
if val == 1 then
ipc.writeLvar("737_LandingLight_Left", 1)
else
ipc.writeLvar("737_LandingLight_Left", 0)
end
end
event.offsetmask(0x5301, 1,"UB","LandingLight_Left") -- bit 0
function LandingLight_Right (off, val)
if val == 2 then
ipc.writeLvar("737_LandingLight_Right", 1)
else
ipc.writeLvar("737_LandingLight_Right", 0)
end
end
event.offsetmask(0x5301, 2,"UB","LandingLight_Right") -- bit 1
function RetractLandingLight_Left (off, val)
if val == 4 then
ipc.writeLvar("737_RetractLight_Left", 1)
else
ipc.writeLvar("737_RetractLight_Left", 0)
end
end
event.offsetmask(0x5301, 4,"UB","RetractLandingLight_Left") -- bit 2
function RetractLandingLight_Right (off, val)
if val == 8 then
ipc.writeLvar("737_RetractLight_Right", 1)
else
ipc.writeLvar("737_RetractLight_Right", 0)
end
end
event.offsetmask(0x5301, 8,"UB","RetractLandingLight_Right") -- bit 3
---------------------- RWY TURNOFF ------------------------
function RwyTurnoffLight_Left (off, val)
if val == 16 then