Topic: How can Combo/Juggle hits be limited via code in runtime?

Helllo,

I need to limit (lock) maximum amount of combo hits and juggle hits, depending on a value from a skill tree.

I've been struggling to figure out how can I achieve that at runtime.
I've tried cloning the move set scriptable object and through multiple nested foreach loops remove the next move frame links to limit combos, but couldn't get that to work, and I am wondering if there is a more simple solution for this. Haven't gotten to juggle hits yet because of this. Any input would be much appreciated.

Many thanks, Misiek.

Share

Thumbs up Thumbs down

Re: How can Combo/Juggle hits be limited via code in runtime?

Take a look at the variable "comboHits" under ControlsScript.cs, specifically under the function GetHit.
A lot of interactions can be found with the Combo Options settings (http://www.ufe3d.com/doku.php/global:combo), but you can try adding more rules by following where said options are being used (UFE.config.comboOptions).

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: How can Combo/Juggle hits be limited via code in runtime?

It is possible to change the (UFE.config.comboOptions) variables at runtime.
Also keep in mind a way to reset those variables to the original settings.

Share

Thumbs up +1 Thumbs down