Page 1 of 1

Spotlight question

Posted: Tue Sep 17, 2002 9:41 pm
by pronau
I want to make a spotlight that simply spins, like a lighthouse. I have seen the sp tut, but I need this for multi. Can anyone point me in the right direction? Thanks in advance.

script

Posted: Wed Sep 18, 2002 7:52 am
by tltrude
You'll need to make a thread in your script for the map. Something like this:


level waittill prespawn

thread light_spinner

end

//--------------------------->
// lighthouse threads
//--------------------------->

light_spinner:

$big_light time 4
$big_light rotateY 360

end

I gave the spotlight a targetname of "big_light", but you can use any name you wish (key N). The "time 4" makes it rotate one time every 4 seconds. If rotateY does not work, try rotateX.