I was just curious if anyone has an idea or knowledge as to how you can create an undo feature for your gameplay using blueprints? For example, I’m building an RTS and say I place a building while playing the game, it removes my resources etc. but I decide I made a mistake and want to undo that placement… Not to say you don’t know what undo does but just wanted to clarify in the context I would use it. Is this even possible using only blueprints?
I guess it depends if you want an entire “History” of actions to be able to undo.
If you just want to be able to undo the last action. Just use some sort of variable to hold the last used Action, when you call an undo use whatever logic needs to be done to perform the undo. In the case of an RTS, check whatever building was placed, credit the resources used and then destroy the placed building.