Learning skills though items/Accessories

I have placed a few extra hidden skills in the game that can be permanently learned by characters if they find the item that teaches it in game. I have the items and skill set up, but when I obtain and use the item, the skill is not displayed for the characters to use. What can I do to fix this. 

I have the item set up with a "Learn Skill" and have the skill selected in the list. I have it set as a consumable item so it can be used one time to teach it to one character and can only be used in the menu. One area I noticed in the skills panel is its type which is not set to anything. I have all of my characters in a Set class system of sorts and thus, I have all of their moves set to a type which are all defined under their class. Ex: all magic moves for one character is set to a skill type of magic. All skills for another characters are to a type like sword skills and so on. Im thinking that since these special skills don't have a type, the characters are unable to learn them, but is there a way to get around this without adding another selection to the battle commands? All I have is attack, (character individual class skills) Guard and items and I would like to keep it that way
You are going to have to specify who learns what when they use the item. If you use the item, it needs to call up a common event and in that event you need to specify who is going to learn the skill by using the item.

Gotta go to

Common Event:

Change skills, Fixed: Actor name

Skill name.

So if you want this to be done by any character that uses the item. You'll need to make it as a conditional branch.

Common Event learn skill

Conditional IF actor name uses item then

Learn Skill X (be sure to match up the actors name with the conditional.

And do this for every character...
http://himeworks.wordpress.com/2013/08/29/skill-type-groups/


You can use "skill type groups" to have one group contain another group.


For example, suppose you have your "unique" skill type, followed by "soldier" and "monk" skill types


You would make it so that "soldier" type contains the "unique" skill type, and "monk" type also contains the "unique" skill type.


This way, it doesn't matter whether you're a soldier or a monk, whenever you learn a "unique" skill, it will appear in the appropriate skill type category.
Ahh I see. I will try it both ways but I understand from the explanation how both can work. Thanks alot guys
FYI: Skill type "none" means that the skill is usable by enemies only. For a use by an actor, you either need to set a skill type or use a command manager to override the automatic skill/command menu in battle.

(Attack and Guard are special exceptions which use direct overrides)
Ohhhh ok. I gotcha. Thanks for the tip Andar.

You are going to have to specify who learns what when they use the item. If you use the item, it needs to call up a common event and in that event you need to specify who is going to learn the skill by using the item.

Gotta go to

Common Event:

Change skills, Fixed: Actor name

Skill name.

So if you want this to be done by any character that uses the item. You'll need to make it as a conditional branch.

Common Event learn skill

Conditional IF actor name uses item then

Learn Skill X (be sure to match up the actors name with the conditional.

And do this for every character...
I tried to set the event up for this to work. Doing it the first way for a single character is no problem, but when I do the conditional branch I have no option for if actor (xxxx), uses item. Im on tab 2 of the condition branch but i only have options for name, class, skill, weapon, armor, state, and in party. Am i missing something.
If you want the skill to be learned by the actor who uses the item, you don't need an event but can simply set that by scope and feature in the database - because that's the default.


If you want to override that, you can either use a choice command and place different learning commands in the branches depending on the answer, or you can store the actor's ID into a variable (to be set by various commands or choices and then use conditional branches depending on the ID.
I was able to do it by have the item with the skills and having the skill set to a new set called "special" which is blank until one of these items are used. Then the skills are added to this set. By doing this way, I am allowed to do the one time use, and any character can gain the skill. This works. My only thing now is wonder if there is a way to hide the "special" menu from the selection menu initally until one of those skills are used, that way the selection isn't present on character who haven't learned these specific skills yet. Aside from that, everything works. Thanks so much for all the help and advice guys.

Original thread: https://forums.rpgmakerweb.com/threads/learning-skills-though-items-accessories.17556/