Welcome to PenUltima Online. Click to login or register.

Functions:

GetMapInfo( x, y, realm := _DEFAULT_REALM )
Parameters:
Name Type
x,y Integer world coordinates
realm String - case-sensitive name of the realm
Explanation
Gets information about map data at a location.
Notes: Tells you nothing about Static items! z = map height at x,y. Not necessarily the same as GetStandingHeight() landtile = the land tile type number at x,y (not an item graphic number)
Return values
A Struct with members "z" and "landtile".
Errors
"Invalid parameter"
"Realm not found"
"Invalid Coordinates for Realm"