I’m trying to cast to MY game mode right after SET but no score is being collected inside the Score master integer in my MY game mode. Why is the score not adding and keeps showing 0 if I attache the print string.? All though print string score is working fine after SET but only after SET not after Cast to My gamemode. Although these is a basic code project so in my project setting I selected My_gamemode but what do you put as default pawn since there is none. Sphere actor is what is triggering the trigger box.
Variables are not global. Each blueprint is an instance with their own variables. You are increasing a variable of the Level Blueprint and then another check a variable in another blueprint…
If you want to increase ScoreMaster, drag a wire from its pin and search for ++. This will add 1 and set it to the new value.
this is basically a duplicate post. its the same as here
Also I tried casting Score increased to cast to game instance and then casting again in text binding and not working either.
Thank you. All I want is to convert event begin overlap ++ SET (which works great) and then call it or cast it or what ever inside my widget trough text binding so instead of print string will increase text. The score is connected to TRIGGER box. So how would I go about doing that???
Ok. Thank’s I forgot to add ++ to Score Master as well but right now you are the Jedi Master Everynone!!! Thank you!!!