that’s the question Idk what to cast to
You don’t cast a wildcard. In this case, you would only need to cast, if you had a reference to something that was a parent class of a GameOverWidget.
What are you trying to do?
I don’t know what the parent is to a widget cast, I know how to cast and everything just don’t know the wildcard for widget casting
Are you trying to talk to the wave number widget?
yeah sorry for late reply
How would I go about that? sorry for bugging you alot
yeah thanks but that didn’t work either I need the Boolean is be turned true from another blueprint
So you have 2 widgets.
-
Wave Number
is created in the Level Bleuprint - where is the
Game Over
widget created then
the player blueprint calls it
so I recreate that in the player blueprint?
No, this is what you’ve got now - it even says Level Blueprint in the bottom right…
You wanted to access a variable of the player’s widget, right. You wanted to do it in the LB - as per your screenshot; you also said:
the player blueprint calls it
My image shows how the LB can access the player, its widget and then that widget’s variable. You just need to start refencing widgets properly. You can’t get far with it.
alright thanks for your help sorry for the stupid questions
Not stupid at all, actually - it’s asked very, very often. Especially this - how do I get the object for the cast node.
Communicating with the LB is a royal pain the neck at times. Avoid it if you can.