Newbee Sound Question

mcarreramcarrera Member Posts: 3
edited July 2012 in Working with GS (Mac)
Hi Everyone,

A simple question for the pro's out there I'm sure. Is there a way to prevent a behavior until after a sound has played through to it's completion?

I'm doing a story book and I have audio narration. I want the narration to play through to its completion before any of the actors in the scene become active. Is this possible? When I try to work with variables, they don't really "wait" for the sound to finish. (the sound gets triggered and then the Change Attribute behavior immediately following the Play Sound behavior doesn't wait for the sound to finish - if that makes any sense?).

Anyway, any help from anyone would be AMAZING! Thanks,

Mike

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    edited July 2012 Accepted Answer

    @mcarrera

    Hi Mike, first, find out the exact length of time of your audio narration (in an audio editor or Garageband, etc). Then make a boolean attribute, call it A1trigger set to the default false (i.e unchecked).

    So your rules:

    Play Sound Audiotrack
    Timer: After ?? seconds ------ the length of the audio track
    Change attribute A1trigger to true

    And then add in front of your rules for all of your actors:

    Rule: When attribute A1trigger is true
    Change Attribute, etc.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Answers

Sign In or Register to comment.