A 'BP_Lever' Actor needs to notify multiple, unrelated Actors (e.g., a 'BP_Door' and a 'BP_Trap') when it is pulled. The lever should not need a direct reference to the door or the trap. Which communication method allows the lever to broadcast a signal that any interested Actor can listen and bind events to?
-
A
Casting to each potential listening Actor.
-
B
Using a Blueprint Interface with a 'LeverPulled' function.
-
C
Creating and Calling an Event Dispatcher.
-
D
Using the 'Get All Actors of Class' node for each type of Actor.