How to only show HUD of possessed pawns
I have scattered a few possessable pawns of same class in level. The pawns create a button widget on possession which on clicked switch backs to the main pawn of different class. If I cycle through the widget of the previous possessed pawn doesn't disappear.
Is this the correct way to do this? I think I have to use Get Actors OF Same Class and For Each Loop to make it correctly work.
asked Sep 14 '18 at 10:47 AM in Blueprint Scripting
Non-pure node (once with exec pins) pins states clear or end of node continuity (end of scope), so in your case after "Bind to Event to OnClicked" the scopes end and state of "Return Value" you use to get widget reference is cleared and can not be reused or else retrigger the node (which in your case there no point of doing that).
You forgot about most basic thing you can do.... to keep the reference of object you made in variable to control it later ;]
answered Sep 14 '18 at 04:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here