• Reveals a player's remaining buildings to a force. The black mask over the buildings will be removed as if the territory had been discovered.

    Parameters

    • whichPlayer: Player<PlayerEventMap>

      The player to reveal.

    • toWhichPlayers: HandleHolder<"force">

      The players who will see whichPlayer's buildings.

    • flag: boolean

      If true, the buildings will be revealed. If false, the buildings will not be revealed. Note that if you set it to false, it will not hide the buildings with a black mask.

    Returns void

    Note

    his function will not check whether the player has a town hall before revealing.

Generated using TypeDoc