I’m 99% sure I followed the instructions correctly but here’s the error log
Building SimpleShooterEditor…
Using Visual Studio 2019 14.29.30136 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Building 5 actions with 8 processes…
[1/5] ShooterCharacter.cpp
C:\Users\Will\Documents\Unreal Projects\SimpleShooter\Source\SimpleShooter\ShooterCharacter.h(47) : error C2062: type ‘float’ unexpected
C:\Users\Will\Documents\Unreal Projects\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(20) : error C2065: ‘Health’: undeclared identifier
C:\Users\Will\Documents\Unreal Projects\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(51) : error C2761: ‘float AShooterCharacter::TakeDamage(float,const FDamageEvent &,AController *,AActor *)’: redeclaration of member is not allowed
C:\Users\Will\Documents\Unreal Projects\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(52) : error C2447: ‘{’: missing function header (old-style formal list?)
[2/5] ShooterCharacter.gen.cpp
C:\Users\Will\Documents\Unreal Projects\SimpleShooter\Source\SimpleShooter/ShooterCharacter.h(47) : error C2062: type ‘float’ unexpected
this float has red squiggles in shootercharacter.h
UPROPERTY(VisibleAnywhere)
float Health;
which means red squiggles under “Health” in shootercharacter.cpp
Super::BeginPlay();
Health = MaxHealth;
also attached an image for the other 2 errors
and last thing, at 8:02, the instructor uses a keyboard command to “build” without reminding us what keys he’s pressing. I picked back up after a week of vacation and didn’t remember the keys, so i did a couple of ctrl+shift+? before finding it. the build didn’t work anyway but in future courses, saying the shortcuts every time should be a thing. or at least adding them visually overlayed in the video.
idk how to copypaste bigger chunks of code neatly but can provide more screenshots if needed. thank you so much for your help