Announcing Section #1 for Survival Game - Third-person Player Setup

Hi mate!

STypes.h is kind of a special one, it doesn’t derive from anything and it basically just a container for some of our structs and enums. It has no .cpp file either (since all the work is done in .h) There is no need to have it in a file like that specifically, but it can be nice to keep certain types you use in many places in one convenient location.

Hello I loaded the git hub version but the zombies are not attacking. They standing and nothing happens. They only follow when I walk closeby. Arnt they suppose to partol or somethign?

Hi ,

So regarding this file, I tried to create it myself but the UE is complaining about the fact that it cannot find a .cpp file. After adding an empty .cpp file, it started complaining about some unresolved external symbol, which I know is related to how I format the .cpp file and .h files.

I believe I am unnecessarily complicating my life with this by trying to make it properly.

What I am trying to ask is if this header file is just something you created in the source folder or there is a proper way of creating it through the editor?

Also I see you reference a generated.h file, which I assume gets created when you define the class and so on (or rebuild the project files if they are missing). Can I always create a .h file which includes a generated.h file? even without generating it through the editor?

Thanks so much for this tutorial! It’s being uber helpful :slight_smile:

I am trying to build the file in 4.19.2 but it is saying that they are 4.18 files and can’t be built. Can any help me out here?