Yoko

All sides of Injection
It is currently 2026-02-19 13:11:27

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: finditem in a variable
PostPosted: 2005-01-27 19:57:54 
Offline

Joined: 2004-11-21 21:45:20
Posts: 30
I would like to asign to a variable the value of
finditem. I try this but doesn't work:

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


any idea?


Top
   
 Post subject:
PostPosted: 2005-01-27 21:18:06 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
'finditem' isnt serial. 'finditem' is pointer to object. You need in use:

ser = UO.GetSerial( 'finditem' )


Top
   
 Post subject:
PostPosted: 2005-01-27 21:45:57 
Offline

Joined: 2004-11-21 21:45:20
Posts: 30
Thx very much!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited