Jump to content
  • 0

Varset problems/Combo counting problem


Ultra Fatality

Question

1 answer to this question

Recommended Posts

  • 0

Well, you can use hitcount and uniqhitcount to your advantage here. Hitcount will return the number of hits you have made in your combo among all states, whereas uniqhitcount will return the number of hits in your combo that you've made in your current state. If you want to go about it using VarSet/VarAdd, it's also not that tough. Using VarAdd, you'll have it trigger when you've made a hit to your target. Something like:

[State ****, Count Combo]type = VarAddtriggerall = numtarget && movehit ; Ensure that you have a target and that you've hit the enemytrigger1 = target,gethitvar(damage) ; Ensure that your target received damage from youv = 5value = 1 ; Add 1 to var(5), in this example.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...