How do I unassociate spite with peer id

Get help using Construct 2

Post » Sun Jul 10, 2016 1:39 am

Basically what I want to know is do you need to unassociate a spite when you want
to Associate a new sprite with the peer id?

Basically I'm trying to figure out how to go from a car to walking to driving a different car all in
multiplayer.
B
23
S
8
Posts: 115
Reputation: 2,640

Post » Sun Jul 10, 2016 4:56 am

I generally store the associated peerid in an insurance variable for the object that can be owned. To disassociate, pick the object by comparing the correct peerid instance variable, and clear the variable.

You don't necessarily NEED to do this, but it keeps things logically clean. It depends on how you set up your events. Usually peerid is the most used form of picking the correct insurance in multiplayer, so I'd say it would be good practice.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests