Game Maker

Player

A property type for storing a reference to a specific player.

The Player property type stores a reference to a specific player currently in the map instance. It stores the player by their unique ID (UUID).

  • Default Value: null

Common Use Cases

  • Storing the player who is "it" in a game of tag.
  • Storing the current winner of a round.
  • Storing a reference to a player so that another player's actions can affect them.

Operators (in Change Property action)

  • Set: Sets the property to a specific player.
  • Set Current: A shortcut to set the property to the player who triggered the current action.

Checks (in Property Condition)

  • Equals: Checks if the stored player is the same as another player.
  • Equals Current: Checks if the stored player is the same as the player who triggered the action.