I'm setting up a system where you can read a Spell Tome and learn a spell.
This is easy to set up except for one detail;
I want the reader/user to learn the spell... not a specified actor.
How would I go about setting that part up?
I am assuming in the 'Change Skill' part use a Variable to check the user of the tome. But how do I specify that the variable selects the one reading the tome?
Here is how I would do it for my game. My game revolves around Tomes and Grimoires so I do similar eventing ideas.
Step 1: Create an item: First, create the Spell Tome as an item in your database. Make sure to set its item type as "Regular Item" and its scope as "The User". This ensures that the item can be used on the character who is reading the tome.
Step 2: Create a common event: Next, create a common event that will be called when the Spell Tome is used. This common event will handle the process of teaching the spell to the character.
Step 3: Use a variable: In the common event, use the "Control Variables" command to set a variable (let's call it "Spell Reader") to the value of "Game Data > Last Used Item's User's ID". This will store the ID of the character who used the Spell Tome in the variable.
Lastly: Change skill: Finally, use the "Change Skills" command to add the spell to the character. Instead of selecting a specific actor, choose "Variable" and select the "Spell Reader" variable. This will teach the spell to the character whose ID is stored in the variable.
Ah, that does work. Thank you!
Then, I have a secondary problem. What if they already know that skill?
Does it not do anything, or will it give them a copy of the skill.
Say.. they now have 'Fire I' two times in their ability bar?
I don't see an option in the Conditional Branch of "if [variable of the Last Actor ID] knows skill"
I only see the basic "If [Specified Actor] knows skill"
Isn't that scope user stuff made for battles? In the menu you just select the target even if the scope is user and then there's user user with highest pha and user target the target.