I have Scrolls in my game that teach a character a new skill or spell. There's two characters - one of which uses spells and the other uses skills. Even if you give a Spell Scroll to the skill user, she can't actually use it. Problem is, there are a few of these Scrolls which are one of a kind, and if you were to use it on the wrong character... then you would forever be locked out of learning that skill or spell.
How can I restrict it so that you can only use the item on the intended character?
only by eventing or by scripts - the events are usually the simpler solution, but in special cases you might need to add scripts.
Make the item place a "target state" on the actor using it and then call a common event.
In the common event, use conditional branches to check which actor has the "target state" to identify the item user
Then have the branch for that user do the commands intended - in the case of the wrong user that might be "show text: you can't use this".
If you have a large number of actors, those branches will also get large - that's when you'll need to add some scripts, for example Tsukihime has an script for event calls that automatically places the user's actor ID into a variable to be checked and used.
YES... since they will have different effects...
Do you have the link to this script? Please?
The link to the script is on the master script list as well as on Tsukihime's blog.
Just search the forum for either the master script list and follow that link, or search for the username - the link to her blog is in the profile