Game Maker

Change Flag

Dynamically changes a region's flag during the game.

This powerful action allows you to change the value of a Region Flag (e.g., pvp, block-breaking) in the middle of a game.

Configuration

  • Region: The region whose flag you want to change.
  • Flag: The flag to modify (e.g., PLAYERS_VS_PLAYERS).
  • Value: The new value for the flag (ALLOW, DENY).

Example

Enable PvP in an arena after a countdown finishes.

  1. Region: An Arena region with the PLAYERS_VS_PLAYERS flag set to DENY by default.
  2. Event: A function that runs at the start of the game.
  3. Actions:
    • A Wait action for 10 seconds.
    • Change Flag:
      • Region: Arena
      • Flag: PLAYERS_VS_PLAYERS
      • Value: ALLOW
    • Send Title: "FIGHT!"