Sorry for the late reply, was asleep!
Wasn’t aware about visible being editor only tutorials gave me a different impression (I was taught to hide it and use the code to change visibility. Great tutorial if it’s teaching me wrong! D:)
Anyway, even with visible set to true, the ‘set hidden’ is not working when used to hide it at the start of play, only when overlapping (Unless it’s not a character bp, then it works for some reason). If it’s a character bp that’s when it refuses to hide at the start of play. With ‘visible’ set to true, I can get it hiding and reappearing when overlapping finally but I cannot get it to hide at start of play so it is always visible until the player overlaps it for the first time.
Here’s the NPC actor hierarchy:
I’m not sure how I could be getting wrong references given all references are inside the NPC actor BP and I’m dragging off the hierarchy (or click on them and typing the ‘begin overlap’ etc. so it grabs the reference to the sphere inside the actor and all that). I’ve re-grabbed from the list repeatedly to make sure I was referencing the right things, like I’m 100% sure the widget I’m referencing is in fact the one in the actor I’m trying to hide, given it does hide and show if I get near. It just won’t hide using ‘begin play’ now.
By the way, wouldn’t it be better if you used the visibility of the widget and not that of the object that contains it
I’m still fairly new so I’m not quite sure what the difference is here… sorry!
Edit
Just adding the two images of the code that’s working and code that’s not working:
Code that is WORKING inside a regular actor bp (excuse the branch, need it to not show if a quest isn’t active)
Code that is NOT working inside a ‘character’ bp (note: the hide and show on overlap IS working now, it’s the begin play that is not)
Edit 2
So messing around I found out the working code on the normal actor does not even need event begin play to hide it, as it has ‘hidden in game’ checked by default and actually does start hidden regardless, works no problem. But despite the same things set up on the npc ‘character’ bp, it will not hide the widget by default no matter what I do.