Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Fade SpotLight
lllDash Offline
Member

Posts: 108
Threads: 12
Joined: Apr 2012
Reputation: 3
#1
Fade SpotLight

I can fade in Point lights but don't know how to do it for spot lights with shadows enabled. Is it possible?
05-18-2012, 01:28 AM
Find
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#2
RE: Fade SpotLight

I assume it would be the same, just make sure that the "Casts shadows" option in the level editor is checked.

05-18-2012, 01:44 AM
Find
lllDash Offline
Member

Posts: 108
Threads: 12
Joined: Apr 2012
Reputation: 3
#3
RE: Fade SpotLight

(05-18-2012, 01:44 AM)Homicide13 Wrote: I assume it would be the same, just make sure that the "Casts shadows" option in the level editor is checked.
As far as Ive tried, "FadeLightTo" does not work with spot lights. is there something else I can use? the spotlight does fade in for a second or two but then it disappears.
(This post was last modified: 05-18-2012, 02:31 AM by lllDash.)
05-18-2012, 02:08 AM
Find
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#4
RE: Fade SpotLight

Why don't you try SetEntityActive for now?

05-18-2012, 02:36 AM
Find
lllDash Offline
Member

Posts: 108
Threads: 12
Joined: Apr 2012
Reputation: 3
#5
RE: Fade SpotLight

(05-18-2012, 02:36 AM)Putmalk Wrote: Why don't you try SetEntityActive for now?
Sure, I could always just have the light just appear without a fade, but it would have looked nicer if it could just fade. Undecided
05-18-2012, 05:39 PM
Find




Users browsing this thread: 1 Guest(s)