Invoke Event

The following nodes are available for triggering events:

Node NameDescription
DidaInvokeEventThe most commonly used event trigger node; also used to access the EventSubsystem

For example, you can use the DidaInvokeEvent node directly within a blueprint.

concept-invoke-event

Below is an explanation of the relevant parameters:

ParameterDescription
OuterUsed as the Outer to instantiate the Payload, as well as to access the EventSubsystem.
EventThe event to be triggered.
ChannelIf not None, only listeners with either no channel or the same channel will be triggered.
PayloadSpecifies the type of payload parameters to be used.

Once a payload is selected, parameters defined with meta=(ExposeOnSpawn) in the payload will be listed.

concept-invoke-payload

When the node executes, it instantiates the payload and assigns the specified parameters, with the provided object as its Outer.

Additionally, UDidaEventLibrary provides non-K2Node versions of various functions, which can be used as needed.