Blueprint overriden functions - default c++ behavior not working
Hi guys, I just started using UE4 a week or two ago and am trying to get a very basic project going to familiarize myself with the engine, tools and C++ API... I've defined a basic class that inherits from Actor and wanted to describe some default behaviour for a few events. I then wanted to be able to override this in Blueprint using custom events. My issue seems to be that the default behaviour I define in my C++ class doesn't seem to work so I'm wondering what I could be doing wrong...
My header file contains
In my C++ class I define my two functions
And in my class constructor I've included
When I move my player to overlap with my actor the text component does not change it's text so I'm wondering what I'm doing wrong...
asked Mar 10 '18 at 12:21 PM in C++ Programming
Fixed it by moving
from the constructor to the BeginPlay fuction... I'm not sure why but there you go. Hope it helps people having similar problems.
answered Mar 10 '18 at 01:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here