Pause scene after 3 seconds

BaccardaBaccarda Member Posts: 122

Hello everyone!
I've tried dozen variations do do that, but it seems like the timer function is not working at all. Could someone please share an alternative for timer?
Basically what i want to happen is when my character hits enemy make it fall down and pause game after 3 seconds.

Thank you for support!

Comments

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    Did you check the "run to completion" in the timer?

    Mental Donkey Games
    Website - Facebook - Twitter

  • BaccardaBaccarda Member Posts: 122

    @NipaDidIt said:
    Did you check the "run to completion" in the timer?

    Thank you for saving my day! ^^

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    No problem at all.

    When you have a timer inside a rule, and you check the "run to completion", the behaviors in the timer will fire even if the Rule conditions change.

    Example:
    Rule
    When key Space is down.
    Do:
    Timer, after 2 seconds.
    "Play sound" -behavior.

    If you don´t check the "run to completion", you have to hold the spacebar down for 2 seconds for the "play sound" behavior to fire.

    If you check the "run to completion", you only need to tap the spacebar once, and the sound will fire after 2 seconds.

    Hope this makes sense, and will help you in the future!

    Mental Donkey Games
    Website - Facebook - Twitter

Sign In or Register to comment.