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.

GMAX* HOW DO I MAKE AN OBJECT SHOW ONLY AT NIGHT?

Featured Replies

Hi allI am sure it is possible to have an object that only displays at night.any help around?thankschristian

  • Commercial Member

You need to change the ASM source for that. I tried to explain it here:http://www.scenerydesign.org/modules.php?n...rticle&artid=22In your case you can probably put the IFIN1 command in the yourfile.asm file. Something like this:[tt]OBJECT_0_START label word IFIN1 OBJECT_0_FAIL, image_complex, 2, 32767 IFIN1 OBJECT_0_FAIL, tod, 2, 4 ADDOBJ OBJECT_0_SCALE SHADOW_CALL OBJECT_0_SCALEOBJECT_0_FAIL label BGLCODE[/tt]Note that I have added the second IFIN1 line. A value between 2 and 4 means the object will be shown at dusk/dawn and night.

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Thank you ArnoIt worked fineregardschristian

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.