Sometime we might want to add different animations to the same attack that might be triggered in a sequence.
Currently, the system supports the implementation of different attack animations for the same weapon. In a way that can be triggered if the same attack is performed quickly.
An example of this can be found in HorrorEngine/ExampleContent/Weapons/Knife/KnifeCombo. To enable this feature, reference the KnifeCombo prefab from the Knife ItemData.
To create an attack sequence/combo. Simply add the AttackCombo component to your weapon.
Each AttackCombo entry will reference a different AttackMontage and its timing. MinEntryTime indicates at which point of the previous attack this can be triggered. GracePeriod indicates the time after the previous attack ended in which the player can still trigger the following attack.
Each AttackMontage can contain different variations. The most important one is the Animation, but it could also be a different Attack (doing more or less damage), a different sound, or different timing.