YesNoOk
avatar

hitcount bug (Read 2733 times)

Started by DR119, December 17, 2017, 10:17:17 pm
Share this topic:
hitcount bug
#1  December 17, 2017, 10:17:17 pm
  • avatar
  • **
I want to return the maximum combo, so I've made a varset which sets the var to hitcount if hitcount is bigger than the var. I checked it with displaytoclipboard, but the var doesn't increase to 2 when the combo counter shows 2. It increases after the first hit and it increases to 2 and higher numbers when the combo is larger than 2. Is this some kind of bug or have I done something wrong?
Last Edit: December 18, 2017, 10:00:37 pm by DR119
Re: hitcount bug
#2  December 17, 2017, 11:21:53 pm
  • *****
  • Shame on you!
    • USA
Wait, What?
It increases after the first hit and it increases to 2 and higher numbers when the combo is larger than 2.
So it skips the number 2?
It shows 1, then shows 3?
or on the first hit it shows 1, then on the 3rd hit it shows 2?

Post your add and reset code. Would help a lot I think.
vVv Ryuko718 Updated 10/31/22 vVv
Re: hitcount bug
#3  December 17, 2017, 11:57:01 pm
  • ****
    • China
    • http://vans.trinitymugen.net/
Re: hitcount bug
#4  December 18, 2017, 07:58:40 am
  • avatar
  • **
Wait, What?
It increases after the first hit and it increases to 2 and higher numbers when the combo is larger than 2.
So it skips the number 2?
It shows 1, then shows 3?
or on the first hit it shows 1, then on the 3rd hit it shows 2?

Post your add and reset code. Would help a lot I think.

After the 3rd combo hit, the var increases to 2, after the 4th it increases to 3
Re: hitcount bug
#5  December 18, 2017, 08:10:49 am
  • avatar
  • **
Re: hitcount bug
#6  December 18, 2017, 10:04:08 am
  • ****
    • USA
    • twitter.com/inktrebuchet
You could try sets the var to hitcount, if hitcount is greater than *or equal to* the var.

Posting that piece of your code might help us understand what you're doing.
Last Edit: December 18, 2017, 02:53:01 pm by ink
Re: hitcount bug
#7  December 18, 2017, 10:00:31 pm
  • avatar
  • **
It now works if I use enemy,gethitvar(hitcount) instead, so the hitcount trigger seems to be a bit buggy