Aller au contenu

Photo

(Advanced) XML - UIObject_Misc_ExtractData - Can we get item description? (WORKAROUND FOUND)


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Lance Botelle

Lance Botelle
  • Members
  • 1 480 messages
Hi All,

Does anybody know if we can get an item's description using the UIObject_Misc_ExtractData in XML?

So far, I can only work out that "Description" data is stored on the examine.xml "EXAMINE_DESCRIPTION_TEXT" text object. However, I would like to be able to get to an item's description data directly.

Thanks in advance.

Lance.

EDIT: Just a quick update to say that I found a way to do what I needed without resorting to this event. However, the question remains if anybody knows how to do it.

Modifié par Lance Botelle, 03 septembre 2013 - 09:49 .


#2
Eynarion

Eynarion
  • Members
  • 1 messages

Hi Lance,

 

by searching for a solution for my problem, I found some of your gui works. Great work!

 

My problem: I also would like to extract the description data from an itemobject and use it on an other custom gui. You said you found a workaround to get this information. Would you share your knowledge or at least give me a hint?

 

Thanks in advance.

 

Best regards, Eynarion



#3
Lance Botelle

Lance Botelle
  • Members
  • 1 480 messages

Hi Lance,
 
by searching for a solution for my problem, I found some of your gui works. Great work!
 
My problem: I also would like to extract the description data from an itemobject and use it on an other custom gui. You said you found a workaround to get this information. Would you share your knowledge or at least give me a hint?
 
Thanks in advance.
 
Best regards, Eynarion


Hi Eynarion,

For some reason I never received an email telling me you had posted here, so sorry for the delay in responding.

I don't know if I mentioned anything in my blog around this time: http://worldofalthea...-equipment.html

However, the gist of what I did was to have an invisible EXAMINE occur during a item click, which I could then use the data from that. It is a lot more complicated to code than explain here, and it took me some trial and error before I got a system I am happy with. That said, I ended up having to edit a number of OC XML scripts and write some rather involved scripts (when my concentration was better than normal) to get the information I required.

If that "hint" is enough to work on, then all the best to your own endeavours. Alternatively, I hope my own module will be released in the near future where you can take a closer look at the work involved.

Cheers,
Lance.