This is exactly what I need but I don’t know how to import this code in my project. Would I need to create a new project or there is a way to add this c++ code directly to my project? If you have some time Arthur (or someone else), can you contact me here or on skype => consomer.yourself2 . Thanks for sharing the code by the way and have a good day!
Hi! I think that Arthur created new C++ Class (with Player Controll Parent i bet) and called it AMyNativePlayerController. Then he added this code into it’s .h and .cpp. Then he pressed compile. Then he created Blueprintclass based on AMyNativePlayerController. And works with it as if it was just Player Controller Blueprint class but with some usefull modification for u.
Thanks for your answer! I try to change «AMyNativePlayerController» for «UMyBluePrintFunctionLibrary» but it didn’t work :(. I also try «MyBluePrintFunctionLibrary», same but without U, didn’t work too. Unreal give me exactly the same error. If you have another idea I’m open to everything!
EDIT: Arthur directly help me, thanks for your answer, we were close to the answer ! It was «UMyBlueprintFunctionLibrary» not «UMyBluePrintFunctionLibrary». All of this for an uppercase Thanks again for your help!