This node makes sure certain important actions in the Hype world are synced with each client, through the selected Player Index, usually the Host. The client will run syncing locally and send to other clients via the net.
To “sync” a link, make it execute this node, continuing from the On Time output.
Execute | Activates the syncing process and outputs “On Time” when done. |
Enabled | Enables or disables the component |
Sync with Multiplayer (on / off) | When enabled, this feature will adjust to the lag of all connected clients. |
Player Index | Determines which client is used to synchronize the action with. Can also be used as a filter, as only the links from this sync owner are passed through. |
On Time |
Outputs action or passes value forward when syncing is completed. Works kind of like the Value Delay - you can Execute this node with any kind of link (ie. value, target, vector), and On Time will pass that link’s property forward. |
How to create a Multiplayer game? Check out this wiki article: https://wiki.hypehype.com/en/editor/components/multiplayer