Announcement

Collapse
No announcement yet.

Do repnotify vars (that aren't updated) still replicate?

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

    Do repnotify vars (that aren't updated) still replicate?

    I'm just curious if there is any network overhead to repnotify vars in a class that don't get any value set beyond their default.

    Cheers

    #2
    The engine only replicates values that changed, so a variable that stays the same won't fire any notify.

    However there's still the work done to check if variable changed so you should just disable replication for it when it isn't needed anymore

    ​​​​
    | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

    Comment


      #3
      Thanks for the response. Well the replicated var i'm talking about is one in my base AI class. Only one of my AI (out of many) use this var at the moment, but i want it available to other AI when needed.

      Comment

      Working...
      X