Is it possible to do this?
I checked the source code and I see that the original Game Pause function actually comes from this:
UWorld* const World = GEngine->GetWorldFromContextObject( WorldContextObject ); APlayerController* const PC = World->GetFirstPlayerController(); World->GetAuthGameMode()->SetPause(PC);
As far as I see, this gets the first Player Controller (which I’m assuming it is the World’s controller) and then uses a pointer to the world to set the pause state to the whole world. However, what I want is to pause everything in the world except for a specific class I want to exclude. Is this possible? I’ve been digging through the code but I couldn’t get any answers.
Thanks in advance for the help.