How do I kill and respawn a player (using photon)

Get help using Construct 2

Post » Tue May 02, 2017 11:59 am

Message: RetroSpock can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hey guys,

After many headaches I have managed to successfully have players, turrets and bullets in real time. I can successfully shoot at player 2 (on player 1) and subtract player 2's health. The problem I have now is, when player x's health reaches 0, I need it to destroy that player, and respawn somewhere else.

Here's what I have:

https://i.imgur.com/SsigOOr.png

I just can't figure out the logic.

Thanks!
B
7
S
1
Posts: 41
Reputation: 463

Post » Tue May 02, 2017 12:10 pm

On destroyed, wait x seconds
-> create object on x y

Or where exactly is the problem?
B
13
S
2
Posts: 80
Reputation: 821

Post » Tue May 02, 2017 12:38 pm

It affects every player, rather than just the one that died. I've tried comparing ActorNr's but that doesn't work either.
B
7
S
1
Posts: 41
Reputation: 463

Post » Tue May 02, 2017 1:19 pm

I think I've sussed it, thanks guys <3
B
7
S
1
Posts: 41
Reputation: 463


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 32 guests