YulRun Posted October 29, 2021 Posted October 29, 2021 (edited) Good day, Looking how to get an ItemId object from an int value of the item Id, if anyone knows how? I looked at the UIDATA_ITEM, and doesn't appear to have a native function there, wondering if anyone knows of a function existing. More Info that may help understand why I'm asking: I'm trying to use native static function string GetItemTextureName(ItemID Id); But requires type ItemId, and not int. So trying to find a way to to convert int value to the corresponding ItemId. Cheers YulRun Figured it out, Answer is: Built in function: GetItemID(Int id) returns ItemID Edited October 29, 2021 by YulRun
Rolo Posted October 31, 2021 Posted October 31, 2021 (edited) For HF chronicles use class'UIDATA_ITEM'.static.GetItemTextureName(GetItemID( X )), where Х is your int. Upd: I'm sorry, I didn't read to the end of the thread and there was already an answer. ))) Edited October 31, 2021 by Rolo
Recommended Posts