Proximity Trigger

From FSDeveloper Wiki
Revision as of 10:15, 13 October 2021 by Mr LiamT (talk | contribs)
Jump to navigationJump to search


A proximity trigger fires when objects enters or exits an area.

ProximityTrigger

Fires when objects enter or exit an area.


ObjectFilter What kind of object triggers it? Possible are:
ANYTHING, USER, REFERENCE.
Areas Link to areas.
OnEnter~ Fires when an object enters the area(s).
WhileInside~ Not tested. Maybe it fires if the object is in the area when the trigger gets activated?
OnExit~ Fires when an object exits the area(s).
~Actions Link to actions.
~Filter Link to GUID of allowed object.
~Condition Old FSX condition.
~ReversePolish Condition Condition for the trigger using Reverse Polish Notation.

Possible uses

  • Reached waypoint dialog.
  • Disable another trigger.
  • Transition mission Flowstate.

Related

  • You can use multiple areas.
  • You can use a SimObject as reference for the filter.


See MSFS Mission Script - Triggers for an overview of triggers and more info about triggers in general.