(I'm not sure if this is the right place, since a problem like that could also happen without any extra script, but I'm using one that could possibly influence the problem.)
So, I've been trying to make an NPC that has three options to interact with. "Shop", "Talk" and "Give present". The first ones aren't the problem, but the last one.
I'm using Vlue's Advanced select item:
My problem is, that I have no idea how to set up different reactions to different items. The player is able to give the NPC any item, but that NPC should react differently to it. It's not like it can only react to one item alone. I've tried several things, googled solutions, but the closest I came to fixing it was that all reactions were the same. This is what the event looks like:
I know that I would probably need to change the conditional branches depending on the item, but I tried that and nothing happend at all.
I also know that Galv has an "item on event" script, which I'm using for other events, but this one works differently, since it triggers like a normal event without any item.
It's a really annoying problem I can't avoid, since my game relies heavily on character interaction like this. I'd be really happy if someone could help me ^^°
So, I've been trying to make an NPC that has three options to interact with. "Shop", "Talk" and "Give present". The first ones aren't the problem, but the last one.
I'm using Vlue's Advanced select item:
My problem is, that I have no idea how to set up different reactions to different items. The player is able to give the NPC any item, but that NPC should react differently to it. It's not like it can only react to one item alone. I've tried several things, googled solutions, but the closest I came to fixing it was that all reactions were the same. This is what the event looks like:
I know that I would probably need to change the conditional branches depending on the item, but I tried that and nothing happend at all.
I also know that Galv has an "item on event" script, which I'm using for other events, but this one works differently, since it triggers like a normal event without any item.
It's a really annoying problem I can't avoid, since my game relies heavily on character interaction like this. I'd be really happy if someone could help me ^^°