scripting question(moving spotlights)

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

scripting question(moving spotlights)

Post by Rezil » August 19th, 2008, 3:20 pm

Hi everyone,

Is there a way to move where the spotlight is currently pointing? I know it uses and info_null to calculate where the light falls but is there a way to move the info_null so the spotlight moves with it?

Hope I made myself clear. Cheers
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: scripting question(moving spotlights)

Post by Drofder2004 » August 19th, 2008, 8:32 pm

You will need to use a script origin and a FX as the light, not info_null.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests