Download

Access GameMode blueprint from C++?

I ahve a blueprint base game, but on a C++ class I want to access the game mode blueprint functions and variables… is there a way to do it that is not make my C++ class parent of the game mode?

Also I see that is not possible to do a C++ class from a blueprint… which is a little sad.

You can reparent your BP’s onto C++ Classes. So, make a new C++ GameMode class, reparent your GameMode BP onto it. Any functions that need to be called from C++ or Blueprint you can put into that new class as BlueprintCallable. At least, that’s how I do it.