Wondering would it be possible to have #lightpoint respond to class reflector direction and shape parameters?
Or maybe even add a separate type of light source #reflector if lightpoint can't orient 🤔
In class reflectors you can set the params:
So, the same for scripted lights, could use a single command I suppose, something like
<light> setLightDirection [ <direction>, /* vector */ <innerAngle>, /* number */ <outerAngle>, /* number */ <coneFadeCoef> /* number */ ]; _light setLightDirection [getPos _light vectorFromTo (_light getPos [25, 270]), 100, 170, 6];