Multiple player object sync problem.
When a client has more than one player object (obj_player) in the room it randomnly syncs one player instead of all of them.
I'm trying to do Local Multiplayer + Online Multiplayer, but the other local players don't sync is there a way to solve that?
also I think I will to need to know how to individually sync the other players variables can you help with this too?
:]
Replies (2)
Last message on 17 Jul 2021
Size43
(Administrator)
on
16 Jul 2021, 22:35:35
It's not possible to sync more than one player object per client. If you want to have multiple player objects, you should use instance syncing instead.
To sync variables, you can then use gms_instance_set and gms_instance_get.
DinoWattz
(Topicstarter)
on
17 Jul 2021, 04:11:55
Thanks, I'll try these methods you mentioned.