3rd Person Power-Up Tutorial Coding Issues
So, I've been using Unreal's tutorial videos to help get a better understanding of the program, starting with the Third-Person series. I was at part 5 of instruction ( https://wiki.unrealengine.com/Videos/Player?series=PLZlv_N0_O1gb5xvsc7VM7pfoRAKLuIcFi&video=b_vModa3AiM ) when I ran into some trouble. When I debug the code, it comes back with errors in my ThirdPersonPowerUpCharacter.cpp, which all seem to stem from the line near the top that reads "AThirdPersonPowerUpCharacter::AThirdPersonPowerUpCharacter(const class FPostConstructInitializeProperties& PCIP" followed by ": Super PCIP". I did change this from what the 4.8 engine has as default code because I had to do something similar for an earlier tutorial to get my game to work, but now it seems that this code is too old for Unreal to recognize. I checked my spelling multiple times and went so far as to paste the source code into my project to ensure there weren't any errors, but it still wouldn't run. I am convinced that whatever I replaced in that line of code is needed to run the game properly but I can't for the life of me remember what it was. How do I fix this? What do I need to change from the source code (found in the link above) to make the game run in 4.8?
asked Jul 28 '15 at 04:37 PM in C++ Programming
I am sorry to hear about your problem.
Please note that in Unreal Engine 4.8 you should use
You can also declare constructor without any parameters (however, please pay attention to the
Another change that should be taken into consideration is the new
However, please also pay attention to the fact that with
Thus, to make the game run in 4.8, please make sure that conditions mentioned above are met in your code.
Hope this helped!
Have a great day!
Follow this question
Once you sign in you will be able to subscribe for any updates here