Spotlight question
Moderator: Moderators
Spotlight question
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
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.
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.
