Welcome to PenUltima Online. Click to login or register.

Functions:

ListStaticsInBox( x1,y1,z1, x2,y2,z2, flags := 0, 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
flags Integer
Explanation
Lists all Static or Multi Items inside an imaginary box.
Notes: This function will not generate "Invalid Coordinates for realm" Error, because some Scripter "loves" this "bug" :o/
Notes: from uo.em constants:
// ListStatics* flags
const ITEMS_IGNORE_STATICS      := 0x01;    // Don't list Static Items
const ITEMS_IGNORE_MULTIS       := 0x02;    // Don't list Multi Items
Return values
Array of Structs with members "x", "y", "z" and "objtype" or Error.
Errors
"Invalid parameter"
"Realm not found"
Related
Item
Array