How do I make the multiplayer plugin sync this variable?

Get help using Construct 2

Post » Tue Jan 20, 2015 4:04 pm

https://www.dropbox.com/s/0o141sp25db3w ... .capx?dl=0
Image
I have used the code above to sync the instance variable MUID between the host and peers, but it only syncs for playerSprite and neither of the other two objects. It only seems to work when sync playerName and playerLegs are both set to "position only". This would waste bandwidth sending 3 positions for each player character, and could also cause the different parts to become detached if it lags.

Does anybody know how to sync these variables without changing the data in the sync events?
B
7
S
3
G
2
Posts: 10
Reputation: 1,820

Post » Thu Jan 22, 2015 2:39 pm

Bumpity Bump. I think it might be something to do with the other two objects not being associated with any peer.
B
7
S
3
G
2
Posts: 10
Reputation: 1,820

Post » Sat Jan 24, 2015 4:39 pm

Does bumping posts on here do anything? I'm not sure how this forum works.
B
7
S
3
G
2
Posts: 10
Reputation: 1,820

Post » Thu Jan 29, 2015 11:22 am

I just realized I wrote plugin instead of behaviour. D'oh.
B
7
S
3
G
2
Posts: 10
Reputation: 1,820


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, kellehk, TRMG, Yahoo [Bot] and 28 guests