Hey man!
Thank you so much, this got it working in my test environment. Something wierd still happens in my actual project but I do think I’ve gotten one step closer.
A few questions just to see if I’ve understood if you have the time:
- By choosing Gamemode as the base for the C++ file we inherit everything from UE4s Gamemode class correct? We simply then add our function, so our own C++ Gamemode class is the same as UE4s + our own function?
- By reparenting our BP_GM we are making sure that our BP_GM inherits everything from our C++ Gamemode which in turn inherits everything from UE4s Gamemode?
- Could we have accomplished the same result by doing the C++ class first, then making a BP_GM based on the C++ Gamemode. Would it be the same as reparenting our existing BP_GM?
Anyways, thanks alot! Will report back here if/when I find out what the problem in my actual project is.
Cheers,
Mivke