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.

conditional gmax object appearance

Featured Replies

Hi! (Sorry my english!)I would like to the Gmax made object is appearance, from 10:00 AM till 10:20 AM, every day.1) Patch this object with CAT (by Arno). (Which utility convert the mdl to asm?)2) (Prefferd way) I change in (Gmax made) XML? (Which tag, element or something to add?)3) In Gmax, attach an effect to object, and, in effect parameter is the time of apparance? (HOD=10,10;MOH=00,20)Which is the best (or possible) way?Thanksabelino

  • Commercial Member

Hi Abelino,If you want the condition to apply to the entire object CAT is no option (that is for animations only). With XML code it is also not possible, so I think the best way is to code it either with IFIN1 commands in the ASM code or to use MDLTweaker (also available from my site).To get the object only between 10:00 and 10:20 you need two checks. One to see if the hour is 10 (I think the variable is GMT time, so you would need to think about that). And a second check to see if the minutes are between 0 and 20.

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

Hi Arno!Thank you very mutch for your help!(Few minutes later)Arno it's GREAT!!!! It's works!!!!! :-)Thank you very mutch again!(I solved this problem with MDLTweaker, its a great tool!)abelino

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.