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.

A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums1-Making_AI_Jump_as_a_Part_of_Path_Following
A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
-2-Avoidance
A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
-3-_Random_Wandering

I hope that help, TJ

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