Hi,
I’m looking for the easiest way to achieve the following;
On input action “Attack” the AI takes over the PlayerCharacter, finds nearest actor of “enemy” type, issue a move to actor command and attack actor… Later damage will be added to deal damage equal to equipped weapon.
So basically a normal simple AI pawn that takes over the Player. I’m trying to make an attack system similar to Last Day on Earth.
How would I easiest approach this? Is it better to not let the player become AI? And how would I then attack nearest enemy?