I have been experimenting with "projector" lighting in Second Life to permit more realistic headlights on vehicles etc. The problem is that light settings that look great in ALM look horrible when ALM is turned off, so I'd like to write a function that tests whether ALM is turned on in my viewer. LSL doesn't seem to offer any way to do this so I've been looking into Lua. Unfortunately when I looked up GetDebugSetting(), the manual says:
Am I right in thinking this would preclude using this function from within an LSL script in a vehicle, helmet etc.?