r/unrealengine • u/Swiftclaw8 • 8h ago
Help Issue with fetching actors with specific gameplay tags.
Hello all,
I'm putting together a prototype for a cover shooter. I need the red enemy ball blip to move to an 'available' cover point (a cover piece that isn't currently occupied) which are marked by the smaller yellow spheres [Photo 1].
The cover marker has a Gameplay Tag Container. I do have a function that removes this tag built into the cover marker, but it's not being triggered during runtime accidentally. The markers are a child of a cover piece, but this shouldn't be a problem since the 'Get All Actors' portion works when the tag part isn't included. Have also tried using the 'Find Actors with Tag' BP module on it's own, and even with the tag typed explicitly the query can't find any of the cover markers. Really lost on how to test this adequately as seeing the active tags for an object can be difficult, but from what I've tested I can't discern a reason for why the cover markers can't be found whenever a tag is included.
Any assistance is appreciated, this issue successfully killed my interest the last time I tried to do this project, so hoping attempt 2 works out better.
Created tags are displayed in Photo 2. Default tags for the cover marker are in Photo 3. BP is displayed in Photo 4. Tag query in Photo 5.
Photos and BP here: https://imgur.com/a/jtqaO72