This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
functions:syncvariable [2017/07/16 17:12] – created korshun | functions:syncvariable [2018/02/19 23:01] (current) – korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SyncVariable ====== | ====== SyncVariable ====== | ||
+ | {{tag> | ||
'' | '' | ||
Line 5: | Line 6: | ||
===== Description ===== | ===== Description ===== | ||
- | Synchronizes an arbitrary numeric variable from server to all clients. The synchronized value can be retrieved | + | Synchronizes an arbitrary numeric variable from server to all clients |
- | This function works by spawning an undetectable indestructible actor and using its Speed property | + | SyncVariable optimizes network traffic |
- | <note important> | + | This function works by spawning an undetectable indestructible actor the first time it's called and using its Speed property to synchronize the value. |
+ | |||
+ | <note important> | ||
===== Examples ===== | ===== Examples ===== |