Usage of Payload
How to use the Payload obje
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!
Bind the event
SaveScore
in BeginPlay():

the
OnEventCalled()
event and add one of the two code examples:

Done! Now you can use CallEvent()
everywhere you want and pass a BPO_MyPayload
to it like this:


Last updated