Author Topic: Item names  (Read 656 times)

Is there a way to client-sided (doesent have to be, but perferred) to find the name of a item using a var like %item.name? (%item.name does not work by the way)


You have to get the datablock from the item (%item.getDataBlock()) and from that you can access the networked member variable "uiName" which contains the item name.

so like...
%item = %item.getdatablock
echo(%item.uiname);
?

Who taught you how to script?

echo(%item.getDatablock().uiname);

Thanks, and i dont know much about scripting, so far im self-taught