Hi, this is my first time posting, so I don’t know if I’m doing it in the right place.
Anyways, I’m making a LAN multiplayer game, learned about Blueprint implementable events and tried using them, but they are simply not working. So here is what I did.
I defined the event in my game instance class and then tried to call it.
(.h)
UFUNCTION(BlueprintImplementableEvent, meta = (FriendlyName = "My Happy Event"))
void OnSessionFindCompleted();
(.cpp)
GEngine->AddOnScreenDebugMessage(-1, 10.f, FColor::Red, "Before call");
OnSessionFindCompleted();
GEngine->AddOnScreenDebugMessage(-1, 10.f, FColor::Red, "After call");
So this is what it looks like in game:
So the code is going through but the event is not being executed because it is supposed to hide the menu and some other stuff I set in blueprint:
I don’t know whats going on D: I hope I gave enough detail.
Please enlighten me!!