NokiMo
CodeLikeMe
CodeLikeMe

patreon


Unreal Engine 5 RTS with C++ - Part 33 - Revert Resource Cost of Buildings When Building Cancelled

This is the 33rd part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. Today we are going to work on how to revert the cost of buildings when the construction is cancelled. Earlier we implemented a way to deduct resource requirements such as wood from the resource attributes set. But if the building placement was cancelled due to some reason, we would need to cancel the cost and add the resource cost back to total resource count.

Unreal Engine 5 RTS with C++ - Part 33 - Revert Resource Cost of Buildings When Building Cancelled

Related Creators