Download

How to use Visibility for specific actor with tag.

Hi, I want to do something where when my player overlaps with a trigger an actor with the set tag will set itself to be visible within the level. I would also like to do this for a input i.e left mouse button. Not too sure what to do for making something visible when the actor has a specific tag and the player is overlapping with a trigger. Any help would be appreciated thanks.

You could make a cast on Event BeginOverlap (inside the trigger volume), casting to the actor blueprint, then use/enable the Set Visibility node for the mesh, prior you disable visibility inside the actor settings. You actually don’t need a tag for it, unless you want to have several actors to be visible, in which case you would create a For each loop, based on the Tag array node, searching for said Tag, then Set Visibility to enable.