C:\Users\Joe\Documents\Unreal Projects\FPSProject\Source\FPSProject\FPSGameMode.cpp(11): error C2601: ‘AFPSGameMode::StartPlay’ : local function definitions are illegal
I am reading from This Tutorial and have not differed from it at all, however i cannot complete the build, what does it mean by local function definitions are illegal?
Hurdurrr. You can’t define a function inside another function, i.e I was trying to define StartPlay() inside of main(). Moving it outside fixed the problems.