Why isn't this event working even though it works in the tutorial?

0 favourites
  • 6 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • Hi, so I am currently watching this tutorial: youtu.be/dOMadoYkynk

    And basically it should only make the player attack once which works for him but it doesn't for me, my player just keeps attacking and then I can't move the character.

    Here is the event lines he did:

    Here is all my event lines including the ones he did at the end:

    The tutorial is from 4 years ago but I don't get why it's working for him but not for me.

  • The events for atk=false are hidden so maybe something is running there.

    edit : yeah that event at 12 looks dodgy, like it can always set the attack animation.

  • Wdym by the atk=false is hidden? Also I just checked and the IDLE is in caps. It's weird like it's not reading the "On animtion "attack_down" is finished or something.

  • I edited above just now, that event 12 looks like it could run constantly and set the atk animation but I can't be sure of what's happening. I can't see all the event as the group is minimized which is what I meant above.

  • Which group do you need to see to see more details? I can post the pictures for you

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Might be better if you share the file. I don't fully believe that the tutorial works as he says because if you have an event hold Z down to set the variable ATK to true then it will always be true even if you wait 0.1 second and set it to false. Maybe in the video he only taps Z once whereas you are holding it down.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)