Forum Discussion

BrianAllen-LNRS's avatar
BrianAllen-LNRS
Community Member
8 months ago

Fire trigger WHEN media STARTS

I guess I'm a little surprised to discover that I can't seem to fire a trigger based on when certain media starts playing. If it's there I'm not seeing it anyways...

Any creative workarounds??

  • I disagree. There are only two ways to start media; by timeline start, or by trigger. Either way, you still have to create a trigger for your other action.

    As Tom says, it is pretty easy to duplicate that trigger, and have to change only the action., which is easier than creating a new trigger to start when the media starts.  (If the media starts with the timeline, you still have to create a trigger for your other action.) Like Brian says, if you think you might need to tweak the timing on the media, Start them both with a cue point. Moving the point changes the start time of both (or all of them.)

    If you have media that starts with silence, and you want an action that starts with the sound, there is no way for SL to distinguish between media playing silence, and media playing sound. You will have to trim the silence, or start the secondary action later.

    Regardless, what you ask for (when media starts) is no easier or quicker than When [something else starts or happens]. You still have to know when you want it to start, and you still have to create a trigger.

    • LaurentDuque672's avatar
      LaurentDuque672
      Community Member

      Hello Walt,

      My media (voice sound) start with the timeline, and I change state of a character at the same time (using a cue point + a trigger "When the animation reaches...").

      Indeed I think I might need to tweak the timing. But if I use your solution in this case (start both the media and the other action with a cue point), I won't see anymore my sound lenght on the timeline, and won't be able to adjust the rest of the animation.

      - Present state : I use a trigger + a cue point

      - Whished state : using only a trigger ("When the media starts")

  • Hello, I have exactly the same demand!

    It would be much more easier to have also a trigger "When the media STARTS". For example when you want to animate a character when he starts a sentence (voice sound). For the moment I'm obliged to create cue points, with the disadvantages Brian has pointed.

    Thanks in advance to think about this for the future versions of SL360. ;o)

    • RyanPassey's avatar
      RyanPassey
      Community Member

      I agree.  We have a trigger that happens when Media ends, it would be nice to have a trigger that happens when Media starts.  I can't imagine that would be too hard to program and include.  

  • How are you triggering the media to start? Seems that you could create a trigger based on that action or based on the timeline.

    • BrianAllen-LNRS's avatar
      BrianAllen-LNRS
      Community Member

      You're absolutely correct, I've got audio files scattered across my timeline and could easily fire a trigger based on timeline or cue point. 

      I was thinking it would be cool to fire by media start, that way if I need to tweak the timing of my media later in the process I would avoid having to remember to tweak that timeline-based trigger as well.