Hello,
I wanted to ask, how could I change variable value outside it’s native blueprint.
Let’s say I have widget blueprint - Battle_Menu and it has 3 buttons for 3 different quests, and a widget blueprint Battle_Screen with variable - enemyunits. If I chose first quest i want to change enemyunits value in Battle_Screen blueprint to 500, second quest to 1000 and third to 2000. Ofcourse i could create three Battle_Screen blueprints for each quest, but it’s not effective as i only need to change few variable values and main code remains the same.
So can anyone give me ideas how can i accomplish this
I trying to do same thing, but nothing worked for me yet…
Well i found a solution to my problem. I used GameInstance which allows to use global variables that can be accesed from every blueprint. Maybe you can use this to solve your problem