
Summary
- How to add second and third combo attacks that only activate a short time after the previous attack input.
- Adding combos for heavy attacks, adjusting delay time ranges and fixing most issues and bugs! this also allows you to mix between attack types during a combo.
◼️ Second,Third Light Attack Animation
Second Light Attack → Light_Attack_2
검색어: Sword and Shield Slash
Third Light Attack → Light_Attack_3
검색어: Standing Melee Attack 360
Second Heavy Attack → Heavy_Attack_2
검색어: Great Sword Slash
Third Heavy Attack → Heavy_Attack_3
검색어: Great Sword Kick
Create Anim Montage

◼️ 공격 중 움직임 제어
Skeleton Notify 이용◼️ Combat Graph
In Character BP <BP_Base>
노드가 처음 걸릴 때만 출력이 발동하지만, 리셋 가능합니다공격 입력 후 특정 시간이 지난 후에 다시 작동하도록 하는 역할
현재 몇 번째 LightAttack인지 나타내는 변수AttackCount를 3으로 나눈 나머지 값을 Index로 사용
AttackCount를 3으로 나눈 나머지 값을 Selection으로 사용
◼️ Switch Case: 0
첫 번째 Light Attack
현재 Attack Count에 +1현재 재생 중인 몽타주의 재생 시간에 맞춰서 설정Then 0: Dealy-Duration 이후 DoOnce-Reset 입력에 연결하여 다음 공격 로직 실행 가능하도록 함Then 1: Delay 이후 Attack Count를 0으로 초기화시킴Duration 이후 Attack Count 초기화 로직현재 AttackCount 값이 1 이하인 경우에만 0으로 초기화'AttackCount 값이 1 이하?' 다음 공격이 진행 중이 아니라는 의미◼️ Switch Case: 1
두 번째 Light Attack
Then 0: DoOnce-Reset에 연결다음 공격이 끝이기 때문에 Light Attack 3와 다르게 Branch 로직 없음◼️ Switch Case: 2
세 번째 Light Attack
다음 콤보 공격이 존재하지 않기 때문에 AttackCount만 초기화 시킴공격할 동안은 입력을 받지 않도록 하고, DoOnce-Reset 입력에 연결
◼️ Combat Graph


