Announcement

Collapse
No announcement yet.

Actor placed in level not replicating propertyes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Actor placed in level not replicating propertyes

    Hi.

    I have created a BluePrint Actor with a simple float variable. I'm not spawning the actor just drag and drop it in the level. Now testing the game with dedicated server seems to not replicate the value of the property changed in server to the clients.

    I have set the variable as described in the tutorials, i.e

    Replication = Rerplicated
    AlwaysReplicate = true

    I really don't know if I'm missing something or if there is a problem in replicating actors placed in the level.

    #2
    In your Class Default settings set your Actor's Replication / Replicates variable to true.
    Click image for larger version

Name:	d2e955eab4529a40a96b74cd03e275a0.png
Views:	1
Size:	38.1 KB
ID:	1113021

    And set your Variable Replicated or RepNotify
    Click image for larger version

Name:	e26b6fdcde7fd816e60ecd91c3d8c248.png
Views:	1
Size:	18.8 KB
ID:	1113022

    Replicated values can only set on the Server.
    If you would like to set a variable from the client you have to call a RPC on the Server that sets the variable for you.

    Comment

    Working...
    X