[SCRIPT] Fade SpotLight - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] Fade SpotLight (/thread-15481.html) |
Fade SpotLight - lllDash - 05-18-2012 I can fade in Point lights but don't know how to do it for spot lights with shadows enabled. Is it possible? RE: Fade SpotLight - Homicide13 - 05-18-2012 I assume it would be the same, just make sure that the "Casts shadows" option in the level editor is checked. RE: Fade SpotLight - lllDash - 05-18-2012 (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. RE: Fade SpotLight - Putmalk - 05-18-2012 Why don't you try SetEntityActive for now? RE: Fade SpotLight - lllDash - 05-18-2012 (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. |