GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 Posts: 1,276Member

    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 Posts: 159Member

    @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 Posts: 159Member

    @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.