SphereCommunity
how to get name of item from baseid stored in tag - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: how to get name of item from baseid stored in tag (/Thread-how-to-get-name-of-item-from-baseid-stored-in-tag)



how to get name of item from baseid stored in tag - WRWR - 07-27-2012 07:01 PM

How to get name of item wich baseid stored in tag?

TAG.ITEM1=i_pickaxe

ON=@DCLICK
SRC.SAY <TAG.ITEM1>.NAME ?


RE: how to get name of item from baseid stored in tag - sco - 07-27-2012 08:31 PM

ON=@DCLICK
SRC.SAY <SERV.ITEMDEF(<TAG.ITEM1>).NAME>


RE: how to get name of item from baseid stored in tag - WRWR - 07-27-2012 10:34 PM

ahh, really
why i forget it
Thanks


RE: how to get name of item from baseid stored in tag - matawawa - 08-13-2012 07:33 AM

I have a similar problem, i need to show the name of an item in a dialog and i have the uid of the item stored on a tag so my question is how to get name of item wich uid stored in tag?

TAG.ITEM1=04000598c

[DIALOG ARMLIST]
dtext 50 50 1500 Arma 1 : <<TAG.ITEM1>.NAME>?


RE: how to get name of item from baseid stored in tag - Shaklaban - 08-13-2012 08:11 AM

Code:
ref1=<tag.item1>
if <ref1>
    sysmessage your item name is <ref1.name>
else
    sysmessage your item is not exist in the world.
endif



RE: how to get name of item from baseid stored in tag - matawawa - 08-13-2012 10:16 AM

tyvm Big Grin


RE: how to get name of item from baseid stored in tag - Extreme - 08-13-2012 11:15 AM

[DIALOG ARMLIST]
dtext 50 50 1500 Arma 1 : <QVAL <TAG0.ITEM1>?<UID.<TAG.ITEM1>.NAME>:"None">