Lets say I have a Custom Event X and a Custom Event Y.
In my map, I have 2 objects, one with a tag name of X and one with Y.
Using a line trace, I get the object I hit and check the Tag name it contains. Based on the tag name, the correct custom event runs.
How can I achieve this?
Please note I cannot use a branch saying if tag name = X run X, if false run Y.
This is because in reality I will have having about 50 different tag names and 50 different custom events and using branch would be a nightmare.
Is there a way to run a custom event (or function) using the tag name I get?