I have a variable which has a value if its on the client but if i use it on a server based part of my blueprint its 0. Whats the magic behind it?
Already did but it somehow doesnt work.
Did i forgot something important?
After i change from Client to Server part i try to read out the Vector “PlaceableSC” with Print String and its 0 but if i read it out in the client part it has his value.
You have to set the variable as “Replicated” for that in the Details panel.
I think that might be because you are doing it on the same frame and it’s not yet replicated.
Though why don’t you just add an input to your event that passes your Vector and get rid of your variable?
Thank you very much!!! It really worked with the Input!!