I am trying to achieve the usual top-down game mechanics. i would have moving actors (enemies, monsters, npc’s), static objects (buildings, terrain, item drops).
so i want to find the object under the mouse, figure out what it is, get the player state (casting a spell ?, idle, etc. ) then call the function which does the actions required.
my approach was to add tags to actors then try to get them in the controller bp using get hit result under mouse for objects. but tag system seems really primitive as i have to type it manually, there is no defining a generic tag and select it from the menu. so i guess there is another way to distinguish actors. what would it be ?