Author Topic: if player conditional  (Read 92 times)

Antikore

  • YouTuber, Gamer and the developer of Castle Chamber.
  • Level 20: Nobom
  • *
  • Posts: 1158
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
if player conditional
« on: January 13, 2020, 08:13:05 AM »
Checks only for a player if the player is 1 or 2
Sorry because my English is not very good because I'm Spanish ;) :P
==================================
My games:
- Castle Chamber (In development)
==================================

War555MainsGanon

  • Level 18: Statix
  • *
  • Posts: 889
  • Developer of Matt Adventure
    • View Profile
    • My website
Re: if player conditional
« Reply #1 on: January 13, 2020, 03:25:28 PM »
Checks only for a player if the player is 1 or 2
Uhhh...Good idea?

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Master Builder
  • *
  • Posts: 2879
  • The way of the Cross leads home.
    • View Profile
    • The Adventures of Super Mike Website (ASM)
Re: if player conditional
« Reply #2 on: January 13, 2020, 07:51:33 PM »
If the character is player 1 or 2?
Christian Game Maker: 3:16 Numbers Of Hope


https://theasmgame.weebly.com/

War555MainsGanon

  • Level 18: Statix
  • *
  • Posts: 889
  • Developer of Matt Adventure
    • View Profile
    • My website
Re: if player conditional
« Reply #3 on: January 13, 2020, 08:17:03 PM »

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Master Builder
  • *
  • Posts: 2879
  • The way of the Cross leads home.
    • View Profile
    • The Adventures of Super Mike Website (ASM)
Re: if player conditional
« Reply #4 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?
Christian Game Maker: 3:16 Numbers Of Hope


https://theasmgame.weebly.com/

War555MainsGanon

  • Level 18: Statix
  • *
  • Posts: 889
  • Developer of Matt Adventure
    • View Profile
    • My website
Re: if player conditional
« Reply #5 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

Antikore

  • YouTuber, Gamer and the developer of Castle Chamber.
  • Level 20: Nobom
  • *
  • Posts: 1158
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: if player conditional
« Reply #6 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
Sorry because my English is not very good because I'm Spanish ;) :P
==================================
My games:
- Castle Chamber (In development)
==================================

Gizgord

  • average
  • Level 14: Grooper
  • *
  • Posts: 490
    • View Profile
Re: if player conditional
« Reply #7 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.

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Master Builder
  • *
  • Posts: 2879
  • The way of the Cross leads home.
    • View Profile
    • The Adventures of Super Mike Website (ASM)
Re: if player conditional
« Reply #8 on: January 14, 2020, 03:15:15 PM »
Gizgord: "I'm all fofr multiplayer representation."

CGM:
Same here.
Christian Game Maker: 3:16 Numbers Of Hope


https://theasmgame.weebly.com/

War555MainsGanon

  • Level 18: Statix
  • *
  • Posts: 889
  • Developer of Matt Adventure
    • View Profile
    • My website
Re: if player conditional
« Reply #9 on: January 14, 2020, 08:57:11 PM »
Gizgord: "I'm all fofr multiplayer representation."

CGM:
Same here.
"War555" Same here