Proximity Trigger: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
(Created page for proximity trigger)
 
mNo edit summary
Line 50: Line 50:
|-
|-
!~Condition
!~Condition
|Old fsx condition.
|Old FSX condition.
|-
|-
!~ReversePolish Condition
!~ReversePolish Condition

Revision as of 10:15, 13 October 2021


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.