Download

UMG for weaponBP in multi player game

i wanna make a UMG for weaponBP in multi player game

this is on my weaponBP http://s10.postimg.org/opt3039nt/widget.jpg


and this in the weaponUMG http://s1.postimg.org/gvq142bm7/widasget.jpg

http://s3.postimg.org/sf1q7kcpv/widasasget.jpg

i do replicate every thing and it works on server well but on cleint not
every time i shoot itll call refresh widget and update max and current ammo

not sure i understand, but i would sugguest creating a binding for the text within the widget. then there is no need to constantly refresh. ae2d69bb6adea0f56850eca7cf174088f0d6a090.png2b35c048ee0b018c9a6e12cb82bc58534476cc33.jpeg

cast failed every time i try every thing

fd6fba2926e1ed310b06628d634c66bcf621219e.jpeg

my weaponBP is separate than my character

as u can see in the pic

i made it work by doing this

83a00547858b869907255b0260ffa9ad6ef36a2b.jpeg

but until now i cant make UMGs work with networking multiplayer (the casting failed on clients)

I think Tom’s method of Text binding would be more appropriate than using Event Construct. If you try the text binding code mentioned above, what do you get as the return value of ‘Get owning player pawn’?

on the server it works on client cast failed

and what is Tom’s method?