Cernu 87 Posted November 6, 2020 (edited) I have a very hard time creating functions with all the items variations in Ylands. I like my functions to be multi purpose, and have as wide an usage as possible. So I created a function that will count the number of item types in inventory, but I just can't have it count the number of templated items in inventory. Any idea please ? Edited November 6, 2020 by Cernu Share this post Link to post Share on other sites
Cernu 87 Posted November 6, 2020 Never mind, I am using "get name" ? Share this post Link to post Share on other sites
ocnoglittle 760 Posted November 6, 2020 I'm not sure what you mean by templated items. You could attach a label when spawning an item in the player inventory from a template and then count the labeled items ? 1 Share this post Link to post Share on other sites
Cernu 87 Posted November 6, 2020 templated items An item I attach a game logic template to. I haven't meddle into labels yet, it might prove usefull. We shall see. Thanks ? Share this post Link to post Share on other sites
ocnoglittle 760 Posted November 6, 2020 Entity Labels are my favorite... or maybe trigger zones. ? Share this post Link to post Share on other sites