• 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.

Conditional Editor and Timer

Messages
5
Country
newzealand
Does anybody have experience with the conditional editor?
I want to know when on Touchdown what my flight time is or has exceded a value .
I have a timer setup for a long period of time or do I have to set this for a limited time and just look at the completed/done flag

Thanks Mike
 
You cannot enquire at what time position the timer is.

The way to go here is:
You want to know if touchdown was within 5 minutes time.

You need:

- timer 300secs
- counter trigger (starting count at 1, fires at 2)
- counter action +1
- counter action -1
- landing trigger touchdown

The timer calls the counter-1 action. That means the counter is set back to 0.
The landing trigger stops the timer (not neccessarily needed) and calls the counter+1 action. If the timer hasn't fired yet (less than 5 minutes) then the counter is now at 2 and fires whatever action you want (goal solved, reward, dialog,...).
If the timer has fired before the counter+1 action won't fire the counter trigger.

Alternative way:
You need 2 landing triggers. After 5 minutes the timer fires and deactivates the first landing trigger (the "success" landing trigger) and activates another landing trigger ((the "failed" landing trigger). :)
 
Hey,
Great reply, I wish the SDK had examples like this!

You can do so much with the SDK but at the moment there are not a lot of complete working examples. I see a lot of people and rightly so getting frustrated with the SDK.

Could we start to explain different technics for each function of the SDK like the one above. Simple things to increase the number of people building missions.

I may do one myself after I complete this mission on the basic components that make up the mission if there is interest. Just so people can see it just a series of small individual steps. And they can use or modify the technics and use them themselves.

Cheers Mike
 
Nice idea. Actually, the Wiki would be a good place for that.

I'm afraid I don't have much time for that at the moment.
 
Back
Top