How can I set up a Time of Day system using code?

Hi,

I already have a ToD system working in my Level Blueprint and would like to move it to C++.
Now where do I have to place my code? So what is the C++ equivalent of the Level Blueprint?

(I’m relatively new to C++, UE4 and Game Developent in general)

Thanks in advance,
CAPTNCAPS

I haven’t tried this yet in my game, but I am getting close to needing to do it. Here is the information I found. The class you are looking for is ALevelScriptActor. This is what the level blueprint inherits from. You can find more information and a tutorial on how to do this here:

Thank you very much! :slight_smile: