Implementing Normal Move commands for an RTS

Hello there!

I can’t seem to be able to imagine how to implement these commands for an RTS game:

Patrol: Moves between two locations and attacks nearest enemey
Move: moves to a location without auto attack
Attack: if on ground finds nearest enemey and attacks him
Holds: Stops auto attack
Stop: stops last action

What I’m really confused about is the auto attack system and locking on a target. How would I go about doing that?

Blueprints or C++

Hi Valkon,

Here is some info on creating AI characters. Pretty much everything you want to do is possible using Blueprint Scripting and Behavior Tree’s.

I hope that help, TJ

Thank you very much. This is what I’ve been looking for :smiley: