Hi Community,
Just about to finish the 4th course of the RPG series for the second time. I could not find any thread about how to implement minions as an ability, so I thought I would start one. I’ve been trying for the last day to figure out the best way to get this done. I’ve tried creating a new Minion SO with all the setup data needed, I’ve tried using something similar to projectiles, I’ve tried using a new monobehaviour with included basestats, and added a minion class to the characterclass enum and the progression table. So far I have been able to instantiate the minion as a prefab variant of the player (with certain components removed) but thats about as far as I got. Ive also created a minionController class which will hold all the AI logic for the minion, once its fleshed out. This will include things like max distance from player, attack state, follow player etc
So essentially, the summon minion is an ability that uses the self cast strategy, then each instantiated minion is a character variant, with its own AI logic.
Before I spend too much time on this, I wanted to reach out to see if anyone has successfully implemented minions and if so, can they point me to the correct start location (if the way im doing it is not the most efficient). Or if not, does anyone know the best way to get this done.
My hope is that this post thread serves to help anyone in the future create minions.
Your help is appreciated.
Cheers