Combo Attacks

If i want to make a second type of atteck so do i need a separate state script for that Like PlayerAttack2State?

If it’s another melee attack with the same weapon, you could simply add more attacks to your attacks array… one button would start with new PlayerAttackstate(0), and another button event might start with new PlayerAttackState(4) for example. Since the combo is managed by providing an index, you should be able to make as many of these special attacks as you want.
If it’s a different type of attack, like a bow or pistol, that would probably best be handled by creating a new State

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms