Proximity Trigger

From FSDeveloper Wiki
Jump to: navigation, 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~ Fires every frame when the object is inside the defined area(s).
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.


Pages relevant to mission creation for MSFS.

Mission structure

Flightplan
Weather definitions
Flight file
Mission script
Triggers
AirportLandingTrigger & AreaLandingTrigger · CounterTrigger · PropertyTrigger · ProximityTrigger · TimerTrigger
Actions
ObjectActivationAction · DialogAction · AdjustPayloadAction · ChangeAssistanceItemAction · FadeToColorAction · RandomAction · RequestTeleportAction · CountAction · ResetTimerAction · TimerAdjustAction · GoalResolutionAction & SubGoalResolutionAction · GrantRewardAction · PointOfInterestActivationAction · ActivateWaypointsAction · AITakeControlsAction · SendMessageToAIAction
Mission objects
Mission definition · Goal · LivingWorldExclusion · Camera
Calculator
Flow states
Events
Areas
Rectangle Area · Cylinder Area · Polygon Area · Corridor Area · InGameMarker
Library objects
Sim objects
RTC

Mission tools

MSFS Script Editor · BushTripInjector · BushMissionGen · MSFSLocalizer · SPB2XML · Little Navmap

Other

Example mission files
Porting FSX Missions to MSFS
Localisation
Click the links to access the topic pages (Default - Opens in same window).