It's time to finally add some basic AI in our game, but we're keeping it super simple for today. The AI are only going to be able to skip their turn. But at least, we'll have all the setup done for the next videos.
All Assets ► https://www.patreon.com/posts/all-ass...
────────────────────────────────────────────────────
Marketplace page ► https://www.unrealengine.com/marketpl...
────────────────────────────────────────────────────
Poll Tactical ► https://forms.gle/GzB6Bm5Vy1bgcWCR9
────────────────────────────────────────────────────
French Channel ► https://www.youtube.com/AlexQuevillon...
English Channel ► https://www.youtube.com/AlexQuevillon...
────────────────────────────────────────────────────
Discord ► / discord
Patreon (Project Files) ► / alexquevillon
YouTube Members ► / @alexquevillonen
────────────────────────────────────────────────────
Unreal Engine Version ► 4.25
4.22 to 4.27 also work without any changes
5.0 and 5.1 not recommended, but work with minor differences
────────────────────────────────────────────────────
0:00 Intro
0:27 Import assets
1:22 Indentify which units are AI - BP_UnitAi, W_UnitAi, BP_Unit, BP_CombatSystem, Action_AddRemoveUnitFromCombat, Button_Action_AddRemoveUnitFromCombat
9:28 Make the AI skip their turn - BP_UnitAi & BP_CombatSystem
13:47 Deactivate player inputs - Action_Cbt_WaitForTurn & BP_PlayerActions
21:05 Deactivate spell selection via key press - BP_PlayerActions
21:50 Hide button to end turn - W_Combat
23:36 Fix units turn bar - BP_Unit, Button_Unit & W_Combat_UnitsTurnBar
28:39 Add AI states - E_UnitAiState, BP_UnitAi
35:19 Add states in the debug menu - Tab_Combat
40:35 Outro
41:38 Patreon Wall!
#UnrealEngine #UE4 #UE5 #UE4Tutorial #UE5Tutorial
Tactical Combat 51 - AI Setup - Unreal Engine Tutorial Turn Based