Hello,
I’m trying to implement an EnemyAI system based on the one in CodeMonkey’s Unity Turn-Based Strategy Game course. The meat of the system is based on the code from here: Assets/Scripts/EnemyAI.cs · 963878f8a91d1ee22b4a0140a816bd3808296f2c · GameDev.tv / Unity Turn-Based Strategy / Turn Based Strategy Course · GitLab
I’d like to build a system where the enemy telegraphs their next action by displaying it on the grid and the next turn they perform it similar to how Into the Breach ( Into the Breach on Steam ) or StarVaders ( StarVaders on Steam ) approach to combat.
Has anyone tried anything similar or get any suggestions? I’ve tried a few different approaches such as creating a TryTakeEnemyMove and TryTakeEnemyAttack function and then having custom logic in there to determine which action to take, but it seems a bit convoluted.
Thanks,
Dosed91