Jump to content
Sign in to follow this  
Cernu

[solved] Recognize item template ?

Recommended Posts

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 by Cernu

Share this post


Link to post
Share on other sites

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 ?

  • Thanks 1

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×