• 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 do I...... arrrghhhhh......

Messages
10,158
Country
us-arizona
<-- quote from a famous Monty Python Movie, King Arthur and the Holy Graile


May I ask, how one would add a secondary code (animation trigger) into this Mouse click zone?



Presently I have this;


<Click>15 (&gt;K:PANEL_ID_TOGGLE)</Click>


I need to add this; (L:Fly01, bool)

Thus.. When this 'thing' is clicked, it will bring up panel ID number 15 'and' (and) activate animation 'Fly01'.


I didnt know how to do this as the '15' code is in there, so I felt that the following wouldnt work;

<Click>15 (&gt;K:PANEL_ID_TOGGLE)(L:Fly01, bool) &amp &amp</Click>

Many thanks for your help,


Bill
 
I don't see why you'd need the && in there, (but it's been a year since I did any XML coding.)

<Click>
15 (&gt;K:PANEL_ID_TOGGLE)
(L:Fly01, bool)
</Click>

should work I think, but you may need to set a null value to your Lvar, i.e.:

<Click>
15 (&gt;K:PANEL_ID_TOGGLE)
0 (&gt;L:Fly01, bool)
</Click>

Si
 
Simon's correct, except that it makes no sense at all to set any L:var,bool to zero, since it is ZERO by default... ;)

Assuming you are wanting to set L:Fly01 to "TRUE" then:

1 (&gt;L:Fly01, bool)
 
Awesome...


Many thanks guys.

The click sections have always had me with questions on what I could and couldnt do. This helps tremendously.


I studied a load of them trying to locate one, but didnt. I also have found that there are perhaps 4 or 5 ways of writing clickzones so I thought I should ask. Just adding it in there in seperate row stacks is pretty darn simple! :D Nice to see...


Thanks again,


Bill
 
Back
Top