If touch is down for 5 seconds - Shoot?

Hello,

Is there a way to make an attack for a game where you hold down the touch button for 5 seconds and it shoot a special attack?
I guess I should use "rule - touch - timer for 5 seconds" but Im not sure.
It wont work properly at the moment :/

Someone that could explain this?
Regards

Comments

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    When touch is pressed
    Do:
    Timer - after 5 seconds (run to completion NOT checked)
    -Attack

    Hope this helps!

    Mental Donkey Games
    Website - Facebook - Twitter

  • KIIVIINKIIVIIN Member Posts: 159

    @NipaGames said:
    When touch is pressed
    Do:
    Timer - after 5 seconds (run to completion NOT checked)
    -Attack

    Hope this helps!

    It did not work :/

    I did -

    Rule

    When touch is pressed

    Do

    Timer After 5 seconds (run to completion NOT checked)

    Spawn actor "Special Weapon".

  • KIIVIINKIIVIIN Member Posts: 159

    @NipaGames said:
    When touch is pressed
    Do:
    Timer - after 5 seconds (run to completion NOT checked)
    -Attack

    Hope this helps!

    Nvm, I found the problem! Thank you man <3

Sign In or Register to comment.