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

Property Trigger - FlapsHandleIndex

Messages
78
Country
unitedstates
Okay, I've got a problem here. As part of my Before Takeoff Checklist, I want to be sure that takeoff flaps are properly set. In my test mission, I want flaps to 8 (this is using the default CRJ7). First, I call a dialog from the CoPilot:
"Flaps.wav" As check, I set up a property trigger with:

FlapsHandleIndex = 8

The action is a dialog from the pilot: "Set.wav"

I get the first audio (which is set in a prior flow linked to the parking brake) but after that, nothing, no matter what the flaps handle is set to. I have the control mapped to an axis on the throttle quadrant plus, I've tried the plain old, flaps up/down controls. Nothing.

Second - I tried a dual conditional as follows:

FlapsHandleIndex >= 8 AND FlapsHandleIndex <= 20 which SHOULD react to either setting or anywhere in between, right? No joy. Nothing. I run the full length of the axis and get absolutely no response.

However, the FlapsHandleIndex = 0 works perfectly fine, as that is the property trigger which fires my After Takeoff Checks.

Any ideas on this one?
 
I think the flaps handle doesn't use degrees (but the flaps position should).

Say the aircraft has those flap settings:

0 - 0°
1 - 8°
2 - 15°
3 - 30°

Then, if you want to check if the user has set the flaps to 8° you have to check if the "FlapsHandleIndex = 1" or the flapsposition = 8. ;)
 
Oh my aching back! I feel like an idiot!

I was thinking of the marks on the flap detents as being the index. D'OH!

No wonder I wasn't getting anything as the CRJ7 only has 6 positions and I was looking for 8.

I'll give that a whirl this morning and let you know.


One other quick one if I may, without starting another thread:

On the Area Defintion thing, the length, width and height parameters, what are those? Feet? Meters? I'm looking to use them as waypoint checks but I only need to check the LNAV so, I will use my external program to plug in the WorldPosition coords at ground level and then drag the height up to around 50,000 feet (I think that should cover it!). Just want to know when I cross the waypoint, no matter what the altitude. I'll also adjust the width and length to a tolerance setting which will allow for more strict adherances at higher levels. Just need to know the unit of measure - I don't recall seeing anything about it.
 
Surprisingly the unit is meters. That is a bit disturbing as you normally use feet in fsx. You can check that by giving the area the altitude your aircraft has when slewing through the objectplacementtool - if you are at 15.000f and enter 15.000 the area will be 3 times as high. ;)
 
:mad:

Okay, this is ticking me off now. That index thing didn't work either. Here's the setup:

CRJ7 flap settings:

0 - 0
1 - 1
2 - 8
3 - 20
4 - 30
5 - 45

There are two SimVars for the flaps:

FlapsHandleIndex
FlapsHandlePercent

The index wants a number and the percent wants, a percentage (duh).

I've tried all index values to get the dialog to fire, in all configurations =, >= , etc. Nothing. Then, I tried the percent one and the only one that will fire is the one that I was using already - forgot it was this one - IF FlapsHandlePercent <= 0.900...

That one works when I jump from Flaps 1 to Flaps 0. But, nothing else works. Oh, when I tried FlapsHandlePercent >= 20, it fired on flaps 1 and I'm sure that's not 20% of the flaps handle range, as there's still 4 more after that. With 6 positions, it would have to be less than 20% per slot.

Any other ideas? I tried putting the index value in as Double, String, etc. and still got nowhere. Even went into the aircraft.cfg to confirm the settings. I'm baffled at this one.

Thanks for the measurements too. I never would have guessed meters. :)
 
Last edited:
Sorry, I was kinda inprecise about the simvars. Was quoting from my mind and that, well, I couldn't remember correctly... :o

The "FlapsHandlePercent" should indeed take the percentage of the handle.
For the CRJ flaps you have 6 positions from 0° to 45°. That is indeed 6 positions, but the increment is, of course, 20% each:

0 - 0 (0%)
1 - 1 (20%)
2 - 8 (40%)
3 - 20 (60%)
4 - 30 (80%)
5 - 45 (100%)

So if "FlapsHandlePercent >= 20" fires with flaps at 1 that is absolutely ok. :)

If you want to check if flaps 20 is set try "FlapsHandlePercent = 60" - I'm sure it will work. ;)
 
You da man! All working nicely now!

Okay, little more work, dividing into 100 for each aircraft that I configure but, at least it works now. Thanks a bunch!
 
Back
Top