Welcome to PenUltima Online. Click to login or register.


GetMapInfo( x, y, realm := _DEFAULT_REALM )
Name Type
x,y Integer world coordinates
realm String - case-sensitive name of the realm
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".
"Invalid parameter"
"Realm not found"
"Invalid Coordinates for Realm"