Game Maker

Property Change

Triggers actions whenever a specific Property's value changes.

This is an advanced but extremely powerful event. It doesn't trigger based on a world interaction, but on a change in your game's logic. It fires whenever a specified Property is modified.

Action Values

  • Player: The player whose property changed (if it's a Player-held property).
  • Property: The property that changed.
  • Old Value: The value of the property before the change.
  • New Value: The value of the property after the change.

Event Configuration

  • Property: You must select the specific property you want this event to listen to.

Use Cases

  • The foundation of reactive game systems.
  • Automatically checking for a win condition every time a player's score changes.
  • Updating a scoreboard or hologram instantly when a property is modified.
  • Triggering a special effect when a player's health property drops below a certain threshold.

Example: Announcing a Score Milestone

  1. Property: A Player Number property called Score.
  2. Region: The global region.
  3. Event: Property Change.
  4. Configuration: Select the Score property.
  5. Actions:
    • A Conditional action.
    • Condition: Property Condition -> Check if the New Value of the event is a multiple of 100 (using the Modulo Equals check).
    • If Actions:
      • Send Message: To Everyone, saying &e%p_player_name_player% &ahas reached &e%p_Score_player% &apoints!