The Gameplay Message Router is a robust subsystem designed for registering and facilitating communication between unconnected gameplay objects. This system allows you to send and receive messages containing specific data through defined channels, utilizing gameplay tags. Developed by Epic Games, Inc., this subsystem is compatible with Unreal Engine 5.0.0 or higher and currently supported on the Windows platform.
For latest engine versions plugin update click here
To integrate the Gameplay Message Router into your project, follow these simple steps:
- Obtain the Lyra game project from the Lyra Github Repo (requires a Github account linked to Epic Games).
- Copy the 'GameplayMessageRuntime' plugin from the Lyra project's plugins folder and paste it into your project's plugins folder (YourProject/Plugins/GameplayMessageRuntime).
- Add 'GameplayMessageRuntime' to your
YourProject.Build.cs
file. - Regenerate your project's solution files.
In your class, create a function to send the message and add a gameplay tag representing the channel:
Note: You can also broadcast messages directly from Blueprint using the BroadcastMessage
node.
Create a child actor class from MyActor
C++ class and another actor that doesn't necessarily need to inherit from MyActor
.
In Actor01
Blueprint, create a sample message to send on begin play.
In Actor02
Blueprint, specify a channel and select the relevant message structure to receive the message from Actor01
.
Define gameplay tags for sending or receiving messages on specific channels.
Select the structure containing your message data (e.g., SampleMessage
).
After placing both actors in the level, the message sent from Actor01
should be displayed on Actor02
when the game begins.
Enjoy seamless communication between gameplay objects using the Gameplay Message Router!
5.0 or higher
- Windows
- Mac
- Linux
Not Supported