Welcome to PenUltima Online. Click to login or register.


GetStandingHeight( x, y, startz, realm := _DEFAULT_REALM )
Name Type
x,y Integer world coordinates
realm String - case-sensitive name of the realm
startx Integer
Gets the lowest z height value one could stand at x,y starting at "startz".
Notes: For example, if there is a static tunnel under the map, using a startz value less than the tunnel floor would get you the z of the floor. Above that value would get you the next possible standing height (i.e. on the map above). Also returns a multi reference if a multi exists at that location.
Return values
A Struct with members "z" and possibly "multi" (a Multi Reference)
"Invalid parameter type"
"Realm not found"
"Invalid Coordinates for Realm"
"Can't stand there" if inaccessible location