[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?

    Edited once, last by panthor79 (August 17, 2020 at 11:47 AM).

  • 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*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!