![]() |
Gobo animation sync issue - 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: Gobo animation sync issue (/thread-17784.html) |
Gobo animation sync issue - Mackiiboy - 08-15-2012 Hello! I have a problem, I can not sync the gobo animation of a spotlight to perform the animation in the right time. I have a television that should play a short movie with 100 frames during 15 seconds (0.15 frame time). When I activate the spotlight, the movie does never (well, it does, but the chance is 1%) start from the first frame (the beginning), which is kinda annoying. It does not seem to matter if I use Anim mode: Loop or Oscillate, same thing happens. The movie starts on a random frame. Which frame it stats on, probably depends on how long the game has been running, since the animation loop starts when the map loads even if the spotlight is not visible. I am activating the movie by using: Code: SetLightVisible("TV_1", true); If you know how to make the spotlight to start from the first frame when it becomes visible, or any other way to work-around this problem, please post a comment :]. |