Alright I have a question for those of you who know more than I do about the editor. I am making a map that involves a large number of custom items that vary slightly in stats. I was planning on having a create item line for each of these slightly different items at a variable region that can be set earlier in the trigger. Because this line of code would be copied many times it would be really nice to have a variable item type that changes based on the properties of the item name.
for example
if I had stat1=4 stat2=4 stat3=3 that it would select a specific item (maybe something in the name like "sword 443")
clearly the 443 can be compared to the other variables but I have been unable to find a command that allows you to set an item type variable based on the name.
something like setvariable item = itemwithname("sword 443") sorry if this question is bothersome but I have looked long and hard at the GUI and have been without luck and I figured even if there wasn't a way to do it with the GUI there might be with JASS as I know very little about it.
In summary I would like to know about how to set an item type variable to an item type based on the item type's name if this is at all possible. Thanks
for example
if I had stat1=4 stat2=4 stat3=3 that it would select a specific item (maybe something in the name like "sword 443")
clearly the 443 can be compared to the other variables but I have been unable to find a command that allows you to set an item type variable based on the name.
something like setvariable item = itemwithname("sword 443") sorry if this question is bothersome but I have looked long and hard at the GUI and have been without luck and I figured even if there wasn't a way to do it with the GUI there might be with JASS as I know very little about it.
In summary I would like to know about how to set an item type variable to an item type based on the item type's name if this is at all possible. Thanks