- Dec 7, 2021
- Reaction score
- First Language
- Primarily Uses
Hello! How do I make an event when you buy a certain item and something happens right after purchasing?
Oh only once, you don't need it multiple times. I do have plugins but those are for attacks and animationsdepends, can the item be bought 1x, than it would be easy,
if it can have multiple items and than bought 1, than a tiny
bit complex, but you can set a variable, and when the variable
is 1 or more, an event can be happening, otherwise, it doesn't.
it depends what you aim for, so we can give you a better
guide how to accomplish it, if plugins are involved, we can
make it easier or complex depends on your needs.
Ok thank you! and it should work right after purchasing correct?when you only need it once, and can be bought once, it's a easy part.
when creating a conditional branch, you check if the item is in the inventory,
if: player has item "name here" which can be on data -> items -> name item
than do stuff
nothing/ or text, have a nice day
I need to check the condition where exactly