Language:
Page Info
Engine Version:

Trigger Actors

Choose your OS:

Triggers are Actors that are used to cause an event to occur when they are interacted with by some other object in the level. In other words, they are used to trigger events in response to some other action in the level. All of the default Triggers are generally the same, differing only in the shape of the area of influence - box, capsule, and sphere - used by the Trigger to detect if another object has activated it.

box_trigger.png

capsule_trigger.png

sphere_trigger.png

Box Trigger

Capsule Trigger

Sphere Trigger

Placing Triggers

Triggers can be placed in the level by dragging and dropping one of the Trigger types from the Basic section of the Modes panel when in Place mode.

trigger_place.png

Triggering Events

Triggers are used to activate events placed inside of the Level Blueprint . There are several different types of events that a Trigger can activate. The main ones happen in response to a some type of collision with another object, such as something hitting or overlapping with the Trigger, or in response to input from the player.

With the Trigger selected in the Viewport:

  • Right-click in the Level Blueprint Event Graph and choose one of the events under Add Event for [Trigger Actor Name].

    trigger_event_context.png

Choosing an event via either of these methods results in an Event node being added to the Level Blueprint for the current level:

trigger_event.png

The exec pin of the new event node will fire each time the particular event occurs - in the example above, any time an Actor overlaps (or runs through) the Trigger: