In hercules, there is a script command that puts items that are looted directly into the FAV inventory.
*setfavoriteitemidx(<idx>,<flag>)This function will set an item in inventory as favorite or not.If its favorite item, it will be moved to favorite tab,else move out from favorite tab.Note:Cant change favorite flag of an equipped item.ValidParameters:<idx>- inventory index, refer *getinventorylist()<flag>-true/false(true= favorite item,false= otherwise)---------------------------------------*autofavoriteitem(<item_id>,<flag>)This function will autoset an item as favorite when <item_id> is obtained.If its favorite item, it will be auto moved to favorite tab,else move out from favorite tab.This setting affect not only attached player, but also everyone player globally.ValidParameters:<item_id>- item ID
<flag>-true/false(true= favorite item,false= otherwise)
Does anyone know a similar funtion in rAthena or can create this for rAthena?
That would be really great and practical.
Currently I have to do this in pc.cpp for each individual item. ( Marked in the field with /////)
Question
WhiteEagle
In hercules, there is a script command that puts items that are looted directly into the FAV inventory.
Does anyone know a similar funtion in rAthena or can create this for rAthena?
That would be really great and practical.
Currently I have to do this in pc.cpp for each individual item. ( Marked in the field with /////)
Link to comment
Share on other sites
0 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.