Can I expand a project using only Blueprints which was made using C++ ?
I recently did Tom Looman's Course on Udemy and also got the Source from Git I'm not a good C++ Programmer but Blueprints are way easier for me.
So the project is made in C++, Can I make changes like Adding Main Menu? Making it a Deathmatch game? change other stuff using blueprints? https://github.com/tomlooman/CoopHordeShooter
asked Mar 30 '18 at 08:53 PM in Blueprint Scripting
Yes. Blueprints are classes same as C++ (go see class viewer), 95% nodes you see in blueprints are direct bindings of C++ functions (you only need to place BlueprintCallable or BlueprintPure in UFUNCTION), you just extend your C++ class in blueprint and add blueprint code to it whatever you like. You can use events to call out Blueprint code from C++
BlueprintImplementableEvent event usable only in blueprint
BlueprintNativeEvent event usable in both C++ and Blueprint
Delegate event which allows to bind any function in C++ and Blueprint
Here docs showing exemple of class that uses both C++ and blueprint:
Since it a lot easier to set u components in blueprints i personally do base C++ class and then extend it with blueprint or bluyeprints to make class more editable in editor
answered Mar 31 '18 at 01:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here