No announcement yet.

Variable Replication vs Multicast Function Question

  • Filter
  • Time
  • Show
Clear All
new posts

    Variable Replication vs Multicast Function Question

    My character class has several variables that control the animation bp state machine. These are already set to be replicated.

    When the player fires a weapon, I execute a function on the server, which affects these variables.

    Should I explicitly execute a multicast function to update all of the other clients, or is it just as good to let the built-in variable replication?

    (clearly want the animation to start as soon as possible on all clients - just wondering if an explicit multicast function call would be any faster than just using standard variable replication)

    Thanks for any feedback/advice

    replicated variables replicate by themself if their value "SET" on the server.
    you can use rep notify to detect and filter the changes.