Welcome to PenUltima Online. Click to login or register.

Functions:

ListObjectsInBox( x1,y1,z1, x2,y2,z2, realm := _DEFAULT_REALM )
Parameters:
Name Type
x1,y1,z1 integer, for north west upper corner of box
x2,y2,z2 integer, for south east lower corner of box
realm String - case-sensitive name of the realm
Explanation
Lists all items & mobiles inside an imaginary box. Finds both characters (PCs & NPCs) and items
Notes: This function will not generate "Invalid Coordinates for realm" Error, because some Scripter "loves" this "bug" :o/
Return values
Error or Array of all characters and items found inside the specified box.
Errors
"Invalid parameter"
"Realm not found"
Related
Item
Character
Array