Skip to content

Set16x16TileInfo

Description

Sets the value for infoType from the tile at tileX, tileY to value.

Parameters

  • value The new value for the tile's specified infoType.
  • tileX Position of the 16x16 tile in the map on the horizontal axis.
  • tileY Position of the 16x16 tile in the map on the vertical axis.
  • infoType The ID for the type of info that will be overwritten for the tile. The valid values are:
    • 0 (TILEINFO_INDEX)
    • 1 (TILEINFO_DIRECTION)
    • 2 (TILEINFO_VISUALPLANE)
    • 3 (TILEINFO_SOLIDITYA)
    • 4 (TILEINFO_SOLIDITYB)
    • 5 (TILEINFO_FLAGSA)
    • 6 (TILEINFO_ANGLEA)
    • 7 (TILEINFO_FLAGSB)
    • 8 (TILEINFO_ANGLEB)

Return Value

None.

Syntax

Set16x16TileInfo(int value, int tileX, int tileY, int infoType)

Example

Set16x16TileInfo(3, temp0, temp1, 7)