I have exposed functions to blueprints before but I definitely somewhat of a novice C++ programmer. GetDayOfWeek returns data type EDayOfWeek. I just get the below when I try to return that type
From the compiler(xcode):
Unrecognized type ‘EDayOfWeek’ - type
must be a UCLASS, USTRUCT or UENUM
Then if try to return it as an uint8 or something else I get errors saying that I can’t use that type. Can anyone else expose this to blueprint?
Here is a previous link to a forum where the issue was discussed but there was no concrete resolution, or at least, i wasn’t sure on how the problem is solved.
Ah brilliant. I will try that out when I get home. Looks like it doesn’t use that EDayOfWeek Enum thus avoiding the problem, which I hadn’t considered doing. Thanks so much for your help. Will mark as answer as soon as I test it out.