I have been trying to make a way so that an Item used in battle will only work for certain characters. For example, I call my dog into battle, and to heal it, I would like to use a "Dog Treat" that will restore it's health. Now... how do I make it so that when I give it to the dog, it heals it, and if I try to use it on a person, they say "ick... I'm not eating that..." . I would also like it so that giving it to a person and getting that message won't use up the Dog treat. Any idea's?
As a side note, if I had another item, that could be used to give to all creature party members, but not to a person, (same deal as before) how could I do that as well? Thanks :)
You would probably need a small scriptlet to save who the target is. SO, yeah - make a request.
Then you can make it so the item calls a common event and it is non-consumable. Then, in the common event, you can check who the target is through script (not possible with events), and condition on tha - if dog give the appropriae SE and hal and lose Item: DOg Treat - if a human, play message, bad SE, and do not lose the item - you would still lose the turn though.