What if i delete light entity what has target name and what can be turned on/off, can i recreate that light entity what turns that light source on/off?
What i wish to do is remove all entity lights to gave more entity slots and play with one light to turn on/off light sources.
I'll be running maps what have so many light entities
( they are for costom entity, for example spot light what can be break )
Using dynamic light message is really bad idea because of the lag.
Basically if we find the way how to have only one light entity then i can basically replace
zp nightvision with no lag one.
I know that the light source is build inside the bsp and can not be moved, it can be only turned on/off and thats fine too.
Edit:
To be honest, i already know that this what im trying to do is possible.
Since the light entities are only in server side, server must be sending to client a index of some sort what lets engine know, which
light source will be switched.
What happens when light entity get triggered?
Is there any source code in sdk what would lead me to right way?