Акторы Триггеры

Актор Триггер, который может быть активирован и вызывать события на уровне.


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

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.


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].


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


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:

Выбрать тему

Добро пожаловать на новый сайт документации Unreal Engine 4!

Мы работаем над множеством новых функций, включая систему обратной связи, чтобы вы могли рассказать нам, о том, что мы делаем. Этот вариант не совсем готов для использования в конечном релизе, поэтому перейдите на форум обратной связи по документации, чтобы рассказать нам о проблемах с этой страницей или написать нам о любых проблемах, с которыми вы сталкиваетесь в работе с документацией.

Мы обязательно сообщим вам, когда новая система будет запущена.

Отправить отзыв