Searchlight Following Player

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Searchlight Following Player

Post by Bilko »

Hi guys, I would like to add a searchlight to my map that follows the player if they enter a certain but then go off after a second or two. For example, if they run along a certain bit of balcony the searchlight switches on, follows them for 1 second, then switches off again. I've tried setaimtarget but that doesn't seem to work (later found out thats only for turrets :oops: ) and I tried to break down the spotlight.scr so I could just get the follow bit but that didn't help much. It seems a relatively simple thing to do so I presume I'm missing something.

Thanks for your help.

Bilko.
Post Reply