Page 1 of 1

finditem in a variable

Posted: 2005-01-27 19:57:54
by Arsys
I would like to asign to a variable the value of
finditem. I try this but doesn't work:

Code: Select all

UO.FindType(.bag, -1, '.backpack ') 
bag='finditem'


any idea?

Posted: 2005-01-27 21:18:06
by Edred
'finditem' isnt serial. 'finditem' is pointer to object. You need in use:

ser = UO.GetSerial( 'finditem' )

Posted: 2005-01-27 21:45:57
by Arsys
Thx very much!