Create a new Payload Object
How to create a new Payload Object
Network Environment
Keep in mind when using UObjects as payloads that they're not replicated, you either have to make your own replication for UObjects or use a replicated Actor (although this isn't recommended). If you choose to use Actors as payloads, make sure to destroy it if it's not in use anymore!
We are recommending to use theMessage
input instead to transfer any simple informations!
Right-Click in the Content browser and select
Blueprint Class

Create a new
Object

Add some Variables for your needs and set them to Expose on Spawn and thats it!

And thats it! Now you can use it with the
CallEvent()
function!
Last updated