npruehs / ue4-rts

Real-time strategy plugin and showcase for Unreal Engine 4.
MIT License
747 stars 151 forks source link

Delay before damage #205

Open RM6SS62 opened 1 year ago

RM6SS62 commented 1 year ago

I created an attack with a radius of 20 for a melee unit, so the damage is instantly applied once the unit reach its target, which is not convenient since it doesn't play the animation attack yet.

I wonder if the plugin provides any solution for this or I would have to implement it myself.

Thanks in advance.

npruehs commented 1 year ago

Hey @RM6SS62 ,

unfortunately, the plugin doesn't provide a great means for this yet... In A Year Of Rain, we tied dealing damage to "anim notifiers" in the animations, but you'd have to re-work the plugin for doing so.