Frictional Games Forum (read-only)

Full Version: Fade SpotLight
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can fade in Point lights but don't know how to do it for spot lights with shadows enabled. Is it possible?
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)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.
Why don't you try SetEntityActive for now?
(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