BlockInfo
Call BlockInfo x y z width heightAlso searchable as: BlockInfo · UO.BlockInfo
Reads the client’s walkability data for an area of up to 32×32 tiles starting at x, y, z. For each tile it runs the check the client makes before every step: can a character standing at height z on the tile south of it step north onto it? The answer is the height it would land at, or -128 ($FF80) when it can’t. The client answers from everything it has loaded (house walls and floors included); a tile it hasn’t loaded reads as -128. On a client whose function address is unknown, every byte is 0.
Parameters
Section titled “Parameters”| Parameter | Type | Meaning |
|---|---|---|
x |
number | X position. |
y |
number | Y position. |
z |
number | Height. |
width |
number | Width in tiles. |
height |
number | Height in tiles. |
Returns
Section titled “Returns”In this order, from stack position 1:
| Value | Type | Meaning |
|---|---|---|
data |
string | Two bytes per tile, width × height × 2 bytes in all: row by row from x, y, each a signed 16-bit number, low byte first. |