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.

Animating two scenery objects

Featured Replies

Hi everyone,First a big thank you to Arno and his excellent tutorial on using a radio frequency to control an animation, I am no programmer but just by following his directions and sample files I am ALMOST there...The problem is the second hanger door! I started simply with one door and after a couple of false starts (mostly typos which resulted in some rather interesting door movements) I have the right door working. Arno mentions that it is just a matter of creating a second table for the other object and I can do that and called it anim_2, but if you simply repeat all the code for the second door BGLC gives all kinds of errors. I am sure the solution is either putting the various bits of code in the right place or defining more variables.I could of course make the hanger in two gmax files with one door each and stick them together.....Geoff

  • Author
  • Commercial Member

Hi Geoff,Can you post the errors and the code you made here? Then I can have a look at them (or mail them to me if it is too much to fit into a post :)).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

Hello Arno,Thanks for replying, I thought you were busy away or something? Never mind, I have struggled through and gotten my feet considerably wetter than I intended figuring out the BGL code but - it now works!The main problem was that of course you can't just repeat all the label words, you need to create new ones for the second (and subsequent) objects. That and a few other silly (I can see now) errors, for example the code for checking the status of the NAV frequency only needs to be in the _0.ASM file once.In general, my two hanger doors operate beautifully when I select NAV 112.0, I have made the hanger into and API (with FSRegen) and now I can put in anwhere I need it, (thanks for the information on that also)Now the only problem is that sometimes (about once every 10 operations) the doors cylce twice, any ideas on this would be welcome.Thanks againGeoff

  • Author
  • Commercial Member

Hi Geoff,Nice to hear it is working now. I am indeed doing a traineeship in Brussels and therefore I am visiting the forum less (but I still take a look now and then, can't resist it :)).About the problem you mention, I have heard it more. I think it has something to do with the initialization of the user variables, but I haven't found a solution yet.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

Sorry but I could'nt find the Tutorial of Arno. Can you give the message ID or URL?ThanksKenan

  • Author
  • Commercial Member

Click on the banner below and then you are on my site where you will find a GMax tips section that contains the tutorial.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen" border="0]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.