I have a string var with the item name stored (a Jellopy, for example). How I get the ID of the Jellopy by their name, via NPC script?
I need do this in this way, because the name that I get is dynamic, based on a long list of items.
I want something like "getitemname(<item id>)", but moke like "getitemid(<item name>)", or a way to get it, without using "searchitem(<array name>, "<item name>")".
Question
Kavaline
I have a string var with the item name stored (a Jellopy, for example). How I get the ID of the Jellopy by their name, via NPC script?
I need do this in this way, because the name that I get is dynamic, based on a long list of items.
I want something like "getitemname(<item id>)", but moke like "getitemid(<item name>)", or a way to get it, without using "searchitem(<array name>, "<item name>")".
Edited by KavalineExplaining that is in script
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.