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

Mixture Trigger

Messages
87
Country
spain
¿ Does anybody knows RHS's values (quantity and/or system, I mean, "double, boolean, etc), that I have to set if I want to create a trigger that reminds player to set rich mix when he descendes?
I've done a lot of sets but can't get it.
Please!
 
Try this:

Code:
        <SimMission.PropertyTrigger InstanceId="{67FCD55E-BCAA-475F-8BED-6E2F28D6C3E1}">
            <Descr>PropertyTrigger1</Descr>
            <Actions>
                <ObjectReference id="DialogAction1" InstanceId="{C78F9E2C-191E-4E6B-BA78-F1B6869F8789}">
                </ObjectReference>
            </Actions>
            <Condition>
                <And>
                    <LessThan>
                        <LHS>
                            <Property>
                                <Name>Simvar.MixtureLeverPosition</Name>
                                <Units>percent</Units>
                                <PropertySource>User</PropertySource>
                            </Property>
                        </LHS>
                        <RHS>
                            <Constant>
                                <Double>50.000</Double>
                            </Constant>
                        </RHS>
                    </LessThan>
                </And>
            </Condition>
        </SimMission.PropertyTrigger>

All necessary values ("percent", "double",...) are inserted automatically.
In this case the action is fired if the mixture lever is below 50%. ;)
 
I don't think that it does not work. Mostly in those cases you've made a logical error or forget to activate it.
 
I will be more especific. The trigger ALWAYS FIRES ! I'm thinking that maybe the problem would be in relation with the number of engines, because I am triyng it with a two engines aircraft. I am quite sure that in a single engine aircraft it would work correctly.

Thank you !
 
That maybe right. Try using "0" index for the left engine or "1" for the right engine.

And make sure you only activate the trigger if the mixture is above 50%. You can also activate it with the liftoff trigger (if you use a trigger that detects if the aircraft is above the ground). On takeoff the mixture surely is above 50% - unless you start in the Himalaya. :D
 
Where shold I put the index number in OPT ? Or its necesary to manually edit the .xml file ?
 
After you have placed the trigger and edited the condition you can click in the left "property sets" window and double-click all the way through:
- property trigger
- condition
- and
- less then
- LHS
Property
There it is, in the property values you can find a field fo selecting the index.

Index "0" is used by default though, so if you have a 2-prop aircraft and use both levers it should work without editing the index.
 
ok,, now I understand. Very,very, very thanks. When I finsh my mission, please tell me your impresions !
 
Back
Top