[SOLVED] DealyedCall not working?

  • Hi! I try to play different background-sounds via an own action. If someone stays in a scene the sound should be repeated after a short break with random volumes. My code:


    The System plays the sound I pass in the beginning but it does not wait the seconds I want it to wait before continuing the sound.
    I tested: the oncomplete-event is triggered and if I do not call the action again I hear nothing - which is correct.

    So I wonder what's wrong here? Any ideas?

    Einmal editiert, zuletzt von panthor79 (17. August 2020 um 11:47)

  • Hi!

    You were right: krpano did not use the real values when calling the playsound-action... *thumbup*
    As you can see I used the trace command to show the values but, well, they haven't been used.

    After using get() on the variables the systems uses them as intended - THANKS A LOT!!! *smile*

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!