04-30-2023, 09:40 PM
9 hours ago, Andrein95 said:
Hello. I'd like to implement a list of icons distributed by line under the Target section with Mob name, Level and HP Bar.
For the icons I can use CUIIcons already implemented class, and I would work on TargetInfoNewUI in case of MOB for rendering this new feature.
The part that I dont know to organize is how to retrieve mob possible drop from its index.
Anyone has already solved this?
Any hints will be nice.
Thanks in Advanc
In my case I create a UIArrayItem with UIIcon inside in the xml to be able to represent the icons when selecting a target, to get the list of drops, I don't know if it's possible from it in client side, in my case I get the possible drops on the server and then I send them to the client. Investigate the CNPC class, there is an example throughout the source code on the subject.

