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
Gobo animation sync issue
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#1
Gobo animation sync issue

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:

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 :].
08-15-2012, 04:57 PM
Website Find




Users browsing this thread: 1 Guest(s)