Originally posted by Raikoh
View Post
Announcement
Collapse
No announcement yet.
Set Array Elem problem
Collapse
X
-
Raikoh repliedHey, i found what was my issue, maybe it is the same as you : "Clients should not add or remove elements on replicated arrays." https://docs.unrealengine.com/latest...ays/index.html
Leave a comment:
-
Scienziatogm repliedOriginally posted by smilingrob View PostItems to be replicated should be behind a "has authority" node. In other words, on the server side only. Vars changed on the client wont replicate to another client. The Content Examples has a good explanation of this
https://docs.unrealengine.com/latest...1_2/index.html
Leave a comment:
-
smilingrob repliedOriginally posted by Scienziatogm View Post...there is the same problem: the variable changes on the client, but not on the server.
https://docs.unrealengine.com/latest...1_2/index.html
Leave a comment:
-
Zeb89 repliedWe probably need a developer to help us out with this. It seems kind of complex for the average user.
This is very important for us to keep up the workflow and get the inventory system working properly.
Leave a comment:
-
Scienziatogm repliedI did this:
But when I go on the pickup, this is the variable value:
Leave a comment:
-
PeterLNewton repliedOriginally posted by Scienziatogm View PostThe array or the struct is replicated, but the replication doesn't work. Is this a bug?
Also, if you wanted to notice the changes immediately. It would be better to use a replicated reliable function.Last edited by PeterLNewton; 01-03-2015, 07:01 PM.
Leave a comment:
-
Scienziatogm repliedThe array or the struct is replicated, but the replication doesn't work. Is this a bug?
Leave a comment:
-
PeterLNewton repliedOriginally posted by Scienziatogm View PostThanks for the reply. How can I set an UPROPERTY Reliable? I knew that it was possible only for UFUNCTIONS.
Edit
Try RepNotify instead!Last edited by PeterLNewton; 01-03-2015, 06:57 PM.
Leave a comment:
-
Scienziatogm repliedOriginally posted by SilentX` View PostOh I've overlooked the initial problem, my apologies! The variable is set to replicate?
Leave a comment:
-
PeterLNewton repliedOriginally posted by Scienziatogm View PostI did what you said, but there is the same problem: the variable changes on the client, but not on the server. Here there is the blueprint:
Last edited by PeterLNewton; 01-03-2015, 06:53 PM.
Leave a comment:
-
Scienziatogm repliedOriginally posted by SilentX` View PostMake it a Structure instead of using Bools, its an extra conversion. But that will allow you to use Set Members In.
Leave a comment:
-
PeterLNewton repliedOriginally posted by Scienziatogm View PostThanks for the reply, but I can find only these nodes:
What I have to do now?
Leave a comment:
Leave a comment: