Help I'm trying to use c++ to open and close a door OtherCompiliationError(5)

Ok I’m trying to use C++ to open and a close a door but I keep getting OtherCompiliationError (5)
Screeines Header file

C++ File

Check out Other compilation error(5) - Programming & Scripting - Unreal Engine Forums and see if that helps. If not can you post what’s in the VS output window?

As an aside, you can can use overlap events and timers to avoid doing all those checks in the tick function.