How do I Destroy A Player On 0 Health Using Photon?

Get help using Construct 2

Post » Mon May 01, 2017 9:20 pm

Using the methods I've used, it destroys both players, or it destroys 1 player, but attaches their weapon to the remaining player.

How can I remove player 2 but not player 1?
B
7
S
1
Posts: 41
Reputation: 463

Post » Wed May 03, 2017 7:42 pm

You need an instance variable like 'playerId' to distinguish player 1 from player 2. Or you can use the sprite UID.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824

Post » Wed May 03, 2017 10:20 pm

Thanks, I've used Photon's ActorNr to achieve this :D
B
7
S
1
Posts: 41
Reputation: 463


Return to How do I....?

Who is online

Users browsing this forum: David181, evillair and 59 guests