Jump to content

Landing Gear status


Spadje

Recommended Posts

Hello all, new to the forums and am not sure if I am at the right spot. I am trying to do a simple LUA script to output "Landing Gear Down" / "Landing Gear Up"

 

I wrote the following and get no errors but also get no output

 

Monitor.clear()
lgState=LandingGear.getState()
end
if(lgState==1)
then
   Monitor.addText(0,0,10,"Landing Gear Down")

 

What am I missing?

 

Thanks for any help!

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...