any way we can get a tutorial and some documentation for this?
I don’t really think you need a detailed tutorial. It really boils down to this:
- Add a FGameplayTag to the actor you want destroyed.
- Add a DestroyedActors FGameplayTagContainer to your savegame.
- Actor checks if its tag is present in the savegame on start-up; if it is destroy itself
Obviously there are a few more nuances that depend on your existing codebase but that’s really all there is to it.
Thanks for help , unfortunately i am rather new to engine and dont know how to add the FGameplay tag or container.ive seen a few things on this but dont recall anyone mention an FGameplay tag. Would the Ftag be added from right side tags menu options? When you you say “FGametag container” , do you mean an integer array?
Any possibility of an explanation on how to do this? I looked at gameplay tag documentation. it shows basics of setting up gameplay tags in project settings. but don’t say how to add a gameplay tag to an actor or how to add a container to a savegame , or for that matter how to tell the difference from a gameplay tag and a gameplay tag container. would I go into the savegame bp and in event graph , type in and use “make gameplay tag container from tag” ? and tie that node into the event begin play? how would I add a tag to a specific actor? in its blueprint? Appreciate any help.
Before people can help you, you must first help them understand your problem. What do you mean by “save and reload”? Threads with barren titles and description are less likely to get meaningful replies.
well , the actors that are destroyed during play are respawning after a save game and on reloading from the slot. I just want actors (doors, keys, hopefully even enemy AI) that are destroyed to remain gone after a save and reloading of a game. Enemies obviously are killed , keys and doors are destroyed with overlap .
is there any way to get a more detailed explanation on how to set up the FGameplay tags and containers, like how to add them to the actors and other stuff? Thanks