• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 Trigger the fuel page on an SceneryObject

Messages
84
Country
france
Hey Guys, ok time for some r&d here :)

If someone want to test the possibilities about triggering an event (fuel page appears) when we get close to an object <sceneryObject>, feel free to join my journey :)


So, I watched this official sdk page and I saw the <Trigger /> function and try to add it to my test-scenery.xml in a <SceneryObject> tag.
Since the documentation says that the trigger is deprecated I tried to search another solution.

At this time, the only solution that I see on this page is to put the tag <Fuel /> inside the <Airport>...</Airport>
Like this
<Fuel type="UNKNOWN" availability="YES" />

However, like you guess: we still need to have a SimObject (or sceneryObject ?)

Anyway, I will write some update if I find something interesting


See ya !
 
Hey, it's me again
No surprise, I wasn't able to find a way (even a workaround)
I even try some legacy code like <Trigger>


So imo:
- The fuel parking is attached to the Fuel.spb file wich include the panel .js / .html etc by triggering an event (pretty sure the simvar is in this file)

Funny thing is, I have located a file wich could help me to get the trigger var and insert it in a<code> of a SimObject but..
.. The file is encrypted :D

1623171159831.png


Anyway, I'm gonna to check the 3rd dev forum and will be back here if I found something useful

Bye bye
 
Back
Top