I can only do so inside a function and i need it global so i can stop the timer from within it’s loops. I’v tried to include TimerManager.h but it didn’t help.
It saying:
Error 1 error : In Enemy_Character: Unrecognized type ‘FTimerHandle’ C:\OldSchoolNightmare\Source\OldSchoolNightmare\Enemy_Character.h 53 1 OldSchoolNightmare
The best way to know which headers to include is to check the API reference. For example for at the bottom you will find the file you need to include.
[/QUOTE]