Platform Builder Forums

Main => Suggestions => Topic started by: Antikore on January 13, 2020, 08:13:05 AM

Title: if player conditional
Post by: Antikore on January 13, 2020, 08:13:05 AM
Checks only for a player if the player is 1 or 2
Title: Re: if player conditional
Post by: War on January 13, 2020, 03:25:28 PM
Checks only for a player if the player is 1 or 2
Uhhh...Good idea?
Title: Re: if player conditional
Post by: CGM on January 13, 2020, 07:51:33 PM
If the character is player 1 or 2?
Title: Re: if player conditional
Post by: War on January 13, 2020, 08:17:03 PM
If the character is player 1 or 2?
Yeah
Title: Re: if player conditional
Post by: CGM on January 13, 2020, 08:22:37 PM
Then it makes sense. To see if a certain character is player 1 or 2. Like:

if character 23=player 1
{
XYZ
}

Is that correct?
Title: Re: if player conditional
Post by: War on January 14, 2020, 07:02:19 AM
Then it makes sense. To see if a certain character is player 1 or 2. Like:

if character 23=player 1
{
XYZ
}

Is that correct?
Seems good
Title: Re: if player conditional
Post by: Antikore on January 14, 2020, 07:09:43 AM
No, its for two things. Check if the player that executed a command block is a player and which one and detect if a current character command prompt is being executed while is one player or another.

Useful if you make a multiplayer game, you can have only one character for two players, if they need different functions for each one, detect if its player 1 or 2
Title: Re: if player conditional
Post by: Gizgord on January 14, 2020, 07:19:04 AM
I believe detecting which player does a certain action was requested before.
sure, I'm all for multiplayer representation.
Title: Re: if player conditional
Post by: CGM on January 14, 2020, 03:15:15 PM
Gizgord: "I'm all fofr multiplayer representation."

CGM:
Same here.
Title: Re: if player conditional
Post by: War on January 14, 2020, 08:57:11 PM
Gizgord: "I'm all fofr multiplayer representation."

CGM:
Same here.
"War555" Same here