October 2016
Intermediate to advanced
452 pages
9h 47m
English
The standard delegates used so far in this chapter are essentially a function pointer—they allow you to call one particular function on one particular object instance. Multicast delegates are a collection of function pointers, each potentially on different objects, that will all be invoked when the delegate is broadcast.
This recipe assumes you have followed the initial recipe in the chapter, as it shows you how to create TriggerVolume that is used to broadcast the multicast delegate.
GameMode header:DECLARE_MULTICAST_DELEGATE(FMulticastDelegateSignature)
Actor class called MulticastDelegateListener. Add the following to the declaration: ...Read now
Unlock full access