npruehs / ue4-rts

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

Unit Repair Functionality #187

Open sumrex opened 2 years ago

sumrex commented 2 years ago

Is it possible with the current system to have a system where units can repair other units? I have been trying to find a way but I am not an experienced C++ user so my options are pretty limited.

If there isn't a way, it would be nice if it was added because I can only assume it is a common need.

Mephiztopheles commented 2 years ago

I've created an order which represents repair. periodically refills the health. Won't push that until the repository was changed into something maintainable