Welcome to PenUltima Online. Click to login or register.

Functions:

ListItemsAtLocation( x, y, z, realm := _DEFAULT_REALM )
Parameters:
Name Type
x,y,z Integer world coordinates
realm String - case-sensitive name of the realm
Explanation
Returns a list of items at the specified x,y,z. test ret != 0
Use LIST_IGNORE_Z constant as Z Parameter to list all Items ignoring Z-Value.
Notes: from uo.em constants:
// special value for List[Items/Mobiles/Statics]*
const LIST_IGNORE_Z             := 0x40000000; // Ignore Z-Value and list everything
Return values
<uninitialized object> if invalid parameters, or Array of Item References of items at that location.
Errors
"Realm not found"
"Invalid Coordinates for Realm"
Related
Item
Array