I am going to teach you how to make a pointlight go active when you light a lamp/candle entity.
This is my first tutorial so I would like you to leave feedback if you have time. Thanks!
First:
Create a lamp (or whatever you want to call it.)
You can find all lamp entites under:
entites>lamp
Name the lamp whatever you want.
Second:
Go to the "Entity Settings".
Make sure you uncheck the "Lit" box. (You don't need to, but if you want the player to light the lamp, do so.)
Create a pointlight.
Name it whatever you want. Make sure you resize the light. By default the size is 1.
I resized mine to 3.5.
Write the name of your pointlight in the "Connected Light" in the
lamp entity you placed earlier. In this case, it is called "PointLight_1".
Third:
Change the color of your light to:
R: 0
G: 0
B: 0
A: 0
This means that the light won't have any color and will be invisible until you light the lamp.
Hope this helped someone
As I said, leave feedback!