Does anyone know of a script for focusing light? I am trying to get a rotating lamp that only shines light on whatever it is facing. I need it for the lighthouse I am building in the level editor. If anyone has any ideas then that would be great.
No, but this is needed :|.
You can fake it though

! Make the light bone far away from the light, in the direction you want it to shine the move it in a circle and it will look as if it is shining one direction

.
[edit]reference to the audiTT model

.
I see what you mean but how do you make a light bone and can you have mulitple light bones? I don't see anything in the AuidiTT script that would make the light attach itself to the Headlight bone except for madey that the light intensity matches the bone coordinates.
// headlight
obj.model.light.on=true;
obj.model.light.type=DIM3_LIGHT_TYPE_NORMAL;
obj.model.light.intensity=16000;
obj.model.lightColor.red=1;
obj.model.lightColor.green=1;
obj.model.lightColor.blue=0.8;
Try a cone-shaped model with a texture that fades out. This will fake it fairly well.
He's talking about actual light. Not a visible light cone.
@Mem Dixy: You have to set the light bone in the animator. It's in the "Model -> Special Bones" menu.
Thanks, that did the trick. Mabey I could use the texture fade out idea for the lightbulb. Now all I have left to do is to figure out how far the light should extend so that it reaches the ground (about 500 feet/units away) but I'm sure I can figure that out on my own.