How would I go about getting an items level from the item level field?
Update: the goal is to get an items level from its name. And by this I mean I want to be able to convert an item name into an item ID which I can use to store/retrieve and add fields to an item, since there's no way to add fields in the data editor (that I know of). The level of an item seems to be nothing of importance and a good field to use as an ID.
I've tried using
Variable - Set x = (Value of Items "TestSword" "CItem_Level" for player Any Player)
But it just errors. Im using X as a string and just displaying it as a string to text conversion. What am I doing wrong?
How would I go about getting an items level from the item level field?
Update: the goal is to get an items level from its name. And by this I mean I want to be able to convert an item name into an item ID which I can use to store/retrieve and add fields to an item, since there's no way to add fields in the data editor (that I know of). The level of an item seems to be nothing of importance and a good field to use as an ID.
I've tried using Variable - Set x = (Value of Items "TestSword" "CItem_Level" for player Any Player) But it just errors. Im using X as a string and just displaying it as a string to text conversion. What am I doing wrong?
moved to trigger forum
Try
Variable - Set x = (Value of Items "TestSword" "Level" for player Any Player)
@Helral: Go well butter my biscuit after i tried it again it worked for some reason, not really sure why...