plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.
05/23: Please note that delays are to be expected in the coming days on the answers to your questions.


Please take a moment to read the platform’s guidelines before you get started!


question

Mr_LiamT avatar image
Mr_LiamT asked BuffyGC commented

WhileInside property for ProximityTriggers

What is the function of the WhileInside property of ProximityTriggers?

Maybe it fires if the object is in the area when the trigger gets activated?

mission
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

1 Answer

·
FlyingRaccoon avatar image
FlyingRaccoon answered BuffyGC commented

Hello.

Yes, WhileInsideActions will be called every frame when the object is inside the defined area.
We're sorry for the lack of documentation on the subject, that's something we'll work on in the coming months.

Regards,
Sylvain

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hi Sylvain,

your edit now makes more sense compared to the previous version (OnEnterAction vs. WhileInsideActions).

I wonder about the use case? What is the sense behind triggering something every frame?

BuffyGC

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.