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.

Range when object appears

Featured Replies

Hi!I have one phylosophical question. Let say we have one model which is more detailed when aircraft is near (so fences appears, antennas, etc...) and less detailed when far. Which conditional instruction is better to use,* IfVarRange( :Ret 33b 0 $max_dist ) or* IfVSize( :Ret $Max_dist $min_pixel ) IfHSize( :Ret $Max_dist $min_pixel )I tried to find it out by myself and it seems there is no big difference. I am sking You because FSDS only knows IfVarRange/IfVarAnd conditions and I have some complicated object which are hard to simplyfy.Best regards to all and merry christmas!Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

  • Author
  • Commercial Member

Hi Goran,I never tried comparing them, but if I remember correct the IfHSize and IfVSize look at the number of pixels a certain object is. So I expect this also to depend on the screenresolution and not only on the distance.Using IfVarRange with the distance depends, of course, only on the distance.So I think it depends on what you want which one is better to use. Some small details may only be relevant at a certain resolution, while for other objects a certain distance mught be more appropriate.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

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

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.