Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can anyone give a step by step ....

Featured Replies

Can anyone give a step by step breakdown of the KEY events?KEY_LANDING_LIGHTS_TOGGLEKEY_LANDING_LIGHT_UPKEY_LANDING_LIGHT_DOWNKEY_LANDING_LIGHT_LEFTKEY_LANDING_LIGHT_RIGHTKEY_LANDING_LIGHT_HOMEKEY_LANDING_LIGHTS_ON - extended on?KEY_LANDING_LIGHTS_OFF - retracted?KEY_LANDING_LIGHTS_SET - entended off? KEY_TOGGLE_TAXI_LIGHTS KEY_TOGGLE_BEACON_LIGHTSKEY_TOGGLE_NAV_LIGHTS KEY_TOGGLE_LOGO_LIGHTS KEY_TOGGLE_WING_LIGHTS KEY_STROBES_TOGGLEKEY_STROBES_ONKEY_STROBES_OFFKEY_STROBES_SET KEY_TOGGLE_RECOGNITION_LIGHTS

Hello again John.First off a KEY event means that when you assign this to, say, a mouse click, it will change something in the sim. Whenever you have a TOGGLE, it means every time you activate this, it will change the current state of that event to the opposite of what it is now. Example:KEY_LANDING_LIGHTS_TOGGLE will turn the landing lights off if they are on, and on if they are off. This is usually used when you have only a button for something, instead of a two or three-positions switch.KEY_LANDING_LIGHT_UP = moves the beam of the landing light up. The other three are self-explanatory afer this one.KEY_LANDING_LIGHT_HOME = brings the landing light beam to its original, initial position.KEY_LANDING_LIGHTS_ON = This will turn the lights on if they are off, and do nothing if they are already on. Usually used with a positional switch, so that when you move it to the position that reads "Landing Lights On" on the panel, it will trigger this key event, every time. Same idea for the _OFF.KEY_LANDING_LIGHTS_SET = not sureKEY_TOGGLE_TAXI_LIGHTS, KEY_TOGGLE_BEACON_LIGHTS, KEY_TOGGLE_NAV_LIGHTS , KEY_TOGGLE_LOGO_LIGHTS, KEY_TOGGLE_WING_LIGHTS are all the same as the explained TOGGLE above, just different types of light you can have in FS.KEY_STROBES_TOGGLE, KEY_STROBES_ON, KEY_STROBES_OFF, KEY_STROBES_SET have the same explanation as the landing light example above, just controlling the strobe light instead. Again, no idea about the SET one.KEY_TOGGLE_RECOGNITION_LIGHTS = Toggles the recog. lights between on and off.Keep in mind these are just different types of lights aircraft tend to have, but are not necessarily represented in most models. If you are making your own aircraft, you will have to build all these as separate lights if you wish to use them.

With trigger_key_event(KEY_LANDING_LIGHTS_SET,1); you can set the landing lights to on,with trigger_key_event(KEY_LANDING_LIGHTS_SET,0); you can set the landing lights to off.Arne Bartels

Another way to say this;_SET commands require an argument to work properly.I.e.10000 (>K:SPOILERS_SET)_SET commands are especially useful when things happen all by themself and is not directly influenced by the toggling of a switch etc.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.