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

How to trigger an effect with a keystroke

Messages
16
Country
us-washington
I’d like to be able to trigger an effect, like a truck object catching fire, “on command” by using a defined set of Keystrokes as the effect trigger. I’d like to stay away from proximity triggers as they are conditional. I want to be in control of when the effect starts/is triggered (not have it happen when a set of conditions like time, proximity etc. are met)

I have the truck placed where I need it. I wish to now attach the vehFire effect at the truck’s same location, and then, trigger the vehFire effect to begin by using a set of predefined keystrokes that I would initiate, like… press GHGH (or some such combination), while FSX is running and the truck fire effect fire would then kick in/begin.
Any suggestions? Thank you for the help.
 
Messages
118
Country
wales
MenuPromptTrigger

You've probably come across MenuPromptTriggers in some of the default missions - a menu dialog box appears asking you which of the actions (menu items) you want to choose. You click on the required item and proceed.

Here's an example of what the FSXME diagram might look like if you wanted to select between a 'fire' effect and an 'explosion' effect:

MenuPromptTrigger_Example_zpsdfc0910e.jpg


In the mission, the dialog box would say:

Select your effect:

1. Select Fire

2. Select Explosion

You click on the menu item for the desired option/effect.

You would need to extend this 'code' to include the specific effect(s) required, their WorldPosition, etc.

Hope this helps. I find that Jim Keir's FSX Mission Editor (FSXME) does more or less everything for me - I very rarely edit the mission XML as I'm prone to make mistakes at that level!

Cheers - Dai. :cool:
 
Top