What’s the correct way to copy gameplay tags? I have a set of tags like ‘Team.A’, ‘Team.B’, ‘WeaponType.Energy’ etc but I only want to copy the ‘Team’ tags to a spawned actor. How do I do that?
I essentially want to inherit specifics of a tag container, and not just using ‘set’ that will copy everything.
Pardon the bump but I’d really like to find this out… is this a feature that goes against how it’s meant to get used? It would be so useful, but all I can find is ‘add tag’… so you’ll have to run a bunch of test cases to see if you need to add something, and if you want to duplicate all tags (on or off) you have to do a bunch more stuff that seems so useful that I’d be surprised it’s not there.
Thanks for your response. So let’s say I have 2 actors:
Actor A has tags:
Team.A
Damage.Electric
Actor B has tags:
Team.B
Damage.Explosion
I want to code the function ‘Copy “Team” tag from Actor A to Actor B, and remove whatever tag Actor B previously had as “Team”’.
So after I’ve done this Actor B should look like this: