Welcome to PenUltima Online. Click to login or register.

Functions:

ListGhostsNearLocation( x, y, z, range, realm := _DEFAULT_REALM )
Parameters:
Name Type
x,y,z Integer world coordinates
realm String - case-sensitive name of the realm
range Integer
Explanation
Searches the world for ghosts within "range" squares of (x,y,z).
Notes: 19 is used for the z-range. Rectangular range is used - x-range and y-range are compared independently This call is equivalent to ListMobilesNearLocationEx( x, y, z, range, LISTEX_GHOST, realm ). For this reason, this function is depreciated.
Return values
An array of Character References of ghosts found near the location on success
Errors
"Invalid parameter"
"Realm not found"
Related
Character