john9818a on 7/5/2017 at 10:57
The dial on the object trans02 uses a texture that has the ILLUM set on it, but I wanted the texture to turn off in the same manner as a light object. I tried to set up the trans02 as an anim light object with a radius of 1 and Max brightness of 1. The light turns off as expected but the texture remains illuminated.
I might try changing the name of the texture, but does anyone have any suggestions?
R Soul on 7/5/2017 at 11:53
Try also setting Self Illumination to 1.
Daraan on 7/5/2017 at 11:54
To toggle Self illumination you need the AnimLight script and the property Renderer->Self Illumination must be set.
The property Renderer -> Anim Light is only necessary if you really want it to be a light.
john9818a on 7/5/2017 at 20:27
Self Illumination with 1 or 0 works. Thanks! :) I had the AnimLight script on the transformer when I was testing it as a light. :)
ZylonBane on 10/5/2017 at 15:58
To clarify, you only need the AnimLight script if you want the self-illumination to animate. If you just want to set Self Illumination to 0 on an object and leave it that way (for example to make some machinery look inactive), it doesn't need any script support.
john9818a on 10/5/2017 at 16:50
Thanks ZB. :) In my mission the player has to figure out how to turn on the power for the city, and I didn't like having the dials on the transformer illuminate while they were off.