Like a trophy system. I need some script just for example, cuz I'm trying to fix another one. I need function which adds special destription to item, cuz doSetItemSpecialDescription doesn't work on my TFS 0.3.6 and I have to use getItemAttribute, but well... I'm not sure where to place Item ID there... So I just need some script or just fragment for ,,belongs to.." description with ID of item.
Actually script fragment:
Script almost works good... But just description isn't show up and I'm getting an error in console about doSetSpecialDescription... So just seems like I have to use getItemAttribute one but I don't know how to remake it :/
Best regards,
Dr Comet
Actually script fragment:
Code:
doSetItemSpecialDescription(doPlayerAddItem(itemOwner, 12609, 1), 'It is a ' ..itemType.. ' of '..getCreatureName(itemBlacksmith).. ' and it belongs to ' ..getCreatureName(itemOwner)..'.')
Script almost works good... But just description isn't show up and I'm getting an error in console about doSetSpecialDescription... So just seems like I have to use getItemAttribute one but I don't know how to remake it :/
Best regards,
Dr Comet