How do I let an ability interrupt another higher priority ability

In my game I have two block abilities: one left and one right. In order for combat to function properly I need the player to be able to switch between them without letting go of the buttons - i.e if the player is holding down the right block button and then begins holding the left block button I want the player to stop right blocking and start left blocking and if the player is holding down left block and then begins holding the right block button I want the player to stop left blocking and start right blocking - how would I do this.

Thanks in advance for any help.
 
For this you have to implement your own ability based on the block. You have to check for the additional input, stop the current ability, and start the one with lower priority.
 
Top