How to create a BP Light/Lamp that turns on/off automatically at day/night cycle

Thx Fen for the help, but is not working for me. In my BP i need a target attached to “set hidden game” i attached the Lamp light. But still doesn’t work. Meanwhile the two functions “Daylight” and NightLight" do nothing because of the day/night system i recreate from “Kleiner Baer” tutorial. I still need to activate/deactivate the light based on the pitch of the sun(direcionallight) pitch.

It’s very hard to me to understand all of this in depth. Maybe we can share desktop streaming via Skype or something to find out a solution. I guess the community will appreciate it to get a solution to add this to their projects.

Thx you again for your time and effort!