M4karov Posted January 25, 2019 Posted January 25, 2019 Hello guys! Is it possible to pick up information when using consumable items? Example, when using item 607 it identifies the id of the item used, or identifies the item's uid. Quote
0 AnnieRuru Posted January 26, 2019 Posted January 26, 2019 healing item doesn't have unique ID, only equipment has there's no way to trace an item that can stack so to know which item used, just add something like 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ @itemuse = 501; itemheal rand(45,65),0; },{},{} on every single item or a source modification OnPCUseItemEvent ... seems its not floating in this forum Quote
0 Sofia Posted January 26, 2019 Posted January 26, 2019 Something like that (?) Quote percentheal 100,100;getitemname(ItemID); ??? I don't know what you want to do, so I don't know what youre trying to do... You can use "getiteminfo" too... Quote
0 utofaery Posted February 2, 2019 Posted February 2, 2019 Are you trying to create achievement by doing so? eg. player used 500 ygg berry in 20 minutes? and get achievement "super weak tofu"??? because the way you ask the question I simply thought that is what you meant the quotes below explain all info you may need to achieve in doing that. On 1/27/2019 at 2:56 AM, AnnieRuru said: healing item doesn't have unique ID, only equipment has there's no way to trace an item that can stack so to know which item used, just add something like 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ @itemuse = 501; itemheal rand(45,65),0; },{},{} on every single item or a source modification OnPCUseItemEvent ... seems its not floating in this forum Unless you are planing on doing something else? Quote
Question
M4karov
Hello guys! Is it possible to pick up information when using consumable items? Example, when using item 607 it identifies the id of the item used, or identifies the item's uid.
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.