Community Tutorial: 06 - The Enemy Actor - Let's Make a Tower Defense Game

This Unreal Engine 5.4 video is about setting up the Base Enemy Actor class.

We start by adding the missing Distance Parameter from the previous video, and then create the Enemy Actor C++ Class. Next, we create the Enemy Attributes Gameplay Effect, with Health, Max Health, and Move Speed, all being set using Set By Caller. In the Enemy Base’s BeginPlay, we create an Outgoing Spec for the Enemy Attributes Gameplay Effect, and call Assign Tag Set By Caller Magnitude, to send along the Set By Caller values through the chosen Data Tag. Lastly, we add the Advance function, which is using the Move Speed Attribute to advance the Dist variable, later used to set the Enemy position along the Spline.

https://dev.epicgames.com/community/learning/tutorials/DP71/unreal-engine-06-the-enemy-actor-let-s-make-a-tower-defense-game