Welcome to PenUltima Online. Click to login or register.

Functions:

SystemFindObjectBySerial( serial, sysfind_flags := 0 )
Parameters:
Name Type
serial Integer
sysfind_flags Integer (optional, default 0)
Explanation
Searches the world for an item or mobile by serial number. This could be used if the serial number of an object was saved with SetObjProperty, for example.
Notes: uo.em constants for flags:
const SYSFIND_SEARCH_OFFLINE_MOBILES := 1;
const SYSFIND_SEARCH_STORAGE_AREAS   := 2;
Return values
A Character Reference, Item Reference, or Multi reference on success.
Errors
"Invalid parameter type"
"Character not found"
"Item not found."