Spotlight question

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
pronau
Private
Posts: 1
Joined: Tue Sep 17, 2002 9:37 pm

Spotlight question

Post 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.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

script

Post 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.
Tom Trude,

Image
Post Reply