display text with sound file in at beginning scene action.

  • #1, by andy-rinaldiTuesday, 11. November 2014, 15:03 10 years ago
    Hi,
    when you put a display text action in a At beginning scene action in your scene, the text is displayed but the sound file is not playing.
    You need to use a call action.

    Forum Fan

    160 Posts


  • #2, by MachtnixTuesday, 11. November 2014, 15:30 10 years ago
    Is this a question or already an answer?

    Thread Captain

    1097 Posts

  • #3, by andy-rinaldiTuesday, 11. November 2014, 22:33 10 years ago
    It's a bug report.

    Forum Fan

    160 Posts

  • #4, by BigStansTuesday, 11. November 2014, 23:47 10 years ago
    Which file format? ogg / opus ?
    I am sure there was something in the messages.log.

    Great Poster

    361 Posts

  • #5, by SimonSWednesday, 12. November 2014, 10:32 10 years ago
    Maybe wait some seconds before displaying the text.

    Thread Captain

    1580 Posts

  • #6, by andy-rinaldiWednesday, 12. November 2014, 15:27 10 years ago
    @BigStans
    It's a ogg format.

    the messages.log:
    15:16:52: Error: can't open file '' (error 0: la operación se completó correctamente.)
    15:16:53: Error: can't open file '' (error 0: la operación se completó correctamente.)
    15:16:53: Error: can't open file 'PAN_arrows.png' (error 0: la operación se completó correctamente.)

    @SimonS
    The text is displayed but the sound file is not working (warning: this happen only on at the beginning action). I tried with a call action and it works. The sound file is ok. Also I tried with many sound file. Please, check this issue.

    Forum Fan

    160 Posts

  • #7, by afrlmeWednesday, 12. November 2014, 16:06 10 years ago
    Simon meant for you to add a small pause before the using the display text action part, with at least enough time to load the scene. Maybe 1-3 seconds should be ok. Or maybe even whatever delay you are using for the scene transition.

    Those errors in the log file are just warnings. I'm not sure what first two are about as I get them also each time I press run. The third is because you have a corrupted file or file that is missing or has been renamed which is linked to an object/animation/etc & it can no longer locate it.

    Imperator

    7278 Posts

  • #8, by andy-rinaldiWednesday, 12. November 2014, 16:26 10 years ago
    Yes, if I put a pause of 3 seconds for example before the display text, it works. But I haven't 3 seconds... so I'll use the call action system.

    Thanks.

    Forum Fan

    160 Posts

  • #9, by afrlmeWednesday, 12. November 2014, 16:36 10 years ago
    using call action is more or less working in the same way. By the time it triggers the called by other action & then the actions inside of it, you have given the scene enough time to load a little bit. So I guess you could even add a delay of 20ms or something to achieve same effect.

    But either way works, so I guess it doesn't matter that much! smile

    Imperator

    7278 Posts