Unreal Engine 5 RTS with C++ - Part 33 - Revert Resource Cost of Buildings When Building Cancelled
Project Files: .
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.
Full C++ RTS Playlist: .
Unreal Strategy game with Blueprints series:
►
𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧!
►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits
Join this channel to get access to perks:
Like my facebook page for more content : /
Follow me on twitter :
Follow me on reddit :
#CodeLikeMe #unrealengine #ue5 #ue4 #indiegamedev
#unreal #engine #rts #with #part
Unreal Engine 5 RTS with C++ - Part 33 - Revert Resource Cost of Buildings When Building Cancelled
Project Files: .
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.
Full C++ RTS Playlist: .
Unreal Strategy game with Blueprints series:
► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧!
►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits
Join this channel to get access to perks:
Like my facebook page for more content : /
Follow me on twitter :
Follow me on reddit :
#CodeLikeMe #unrealengine #ue5 #ue4 #indiegamedev
#unreal #engine #rts #with #part