Skip to main content

MapSetCell

Callable

  • MapSetCell(id, type, x, y, refresh): boolean

  • Sets the tile of the map


    Parameters

    • id: number

      The ID of the tile

    • type: keyof MapDataLookupTable

      The type of the tile

    • x: number

      The X position of the tile

    • y: number

      The Y position of the tile

    • refresh: boolean = false

      Whether to refresh the map

    Returns boolean

    • TRUE if the tile was set