I want to make it so that actors can only learn skills by using items, but if i make an item that teaches Fire, anyone will be able to use it and learn it. How do I limit it to specific actors or classes? For example, only Mages can learn Fire, only Fighters can learn Cut ect.
[SOLVED]Items usable only by specific classes/actors?
RPG Maker MV SupportSo you need to limit the use of the item that learns skill for the actors/classes?
Like.. Certain actor/classes can't use Item A or something?
Someone already make the thread right here : https://forums.rpgmakerweb.com/index.php?threads/character-specific-item.116640/
Apparently you need a plugin that uses Item Requirement or something.
Like.. Certain actor/classes can't use Item A or something?
Someone already make the thread right here : https://forums.rpgmakerweb.com/index.php?threads/character-specific-item.116640/
Apparently you need a plugin that uses Item Requirement or something.
The advice from @knocz06 is a bit incomplete, because the way he decscribes it the common event will never know which actor used the item.
What you do instead is have the item add an invisible target state to the actor using it. That state should have no messages and no effects, just a name "item target" or whatever you need to identify it.
then in the common event, you check which actor has that state, and create results based on that information - from learning a skill to show text "that scroll is unreadable" or "that potion tastes like poison" or whatever.
What you do instead is have the item add an invisible target state to the actor using it. That state should have no messages and no effects, just a name "item target" or whatever you need to identify it.
then in the common event, you check which actor has that state, and create results based on that information - from learning a skill to show text "that scroll is unreadable" or "that potion tastes like poison" or whatever.
Yes, thats what i wanted to do.
And that was the problem i couldnt fix.
That worked, thank you!
Thank you both for help
if a question is finished, you need to report the topic to be closed, just placing a "solved" in the title is no guarantee that a mod will see it
and don't forget to remove the state in the common event, or the next use of the item will get confused
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/solved-items-usable-only-by-specific-classes-actors.131306/