-
Notifications
You must be signed in to change notification settings - Fork 322
Generic Gameplay Tag events
Krzysiek Justyński edited this page Jul 1, 2022
·
1 revision
Nodes available in the Flow plugin support finding actors and communicating with them by Gameplay Tags.
- This can have many advantages over using soft references to actor instances, i.e. changing actor instance name won't break reference.
- This also allows communicating with actors spawned in runtime, i.e. all characters.
- You can call multiple actors identified by the same Gameplay Tag, which may be useful in many cases.
Obviously, you can use soft references to actors in your project-specific Flow nodes. Although the Flow plugin comes with a mechanism to call events in a generic way, without the need to know the actor's class and functions.
- Add
Flow Componentto the actor. - Assign a unique gameplay tag on the
Identity Tagslist.

- Add the
Receive Notifyevent from the Flow Component.

- Place the
Notify Actornode in your Flow Graph.-
Identity Tagsshould include the Identity Tag assigned in the Flow Component. -
Notify Tagis an optional tag that would be sent through theReceive Notifyevent to your actor. It allows you to call different events in the same actor.
-

- Call
Notify Graphfrom the Flow Component.

- Place the
On Notify From Actornode in your Flow Graph.-
Identity Tagsshould include the Identity Tag assigned in the Flow Component. -
Notify Tagis optional. If added, it needs to match the tag selected on Notify Graph in the step above. Otherwise, theSuccessoutput won't be triggered. - If
Notify Tagwill be empty, the Notify node won't check what tag has been sent from the actor. TheSuccessoutput will always be triggered.
-

- Source Actor: call
Notify Actorfrom the Flow Component.-
Notify Tagis optional. It allows you to call different events in the target actor.
-

- Target Actor: add the
Receive Notifyevent from the Flow Component.

- Add the
Flow Eventstrack to the Level Sequence.- Simply place a key on the section and give it a name.

- Include this Level Sequence on any
Play Level Sequencenode.- Either use the
Refresh Assetbutton on the toolbar or theRefresh Context Pinsoption on the node. You need to use it after every change of event names, adding or removing events from the timeline.
- Either use the


Got any questions? Discuss things related to the plugin on the dedicated Discord server.