The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Doctor Professor Nikolai on July 12, 2008, 05:20:52 PM

Title: Cretain Item for a cretain person
Post by: Doctor Professor Nikolai on July 12, 2008, 05:20:52 PM
See, what I'm wanting to do is, make a variable for a magic scroll, but only a certain class can use. I know how to set up the variable, but I want to make it so only a certain class can learn it.
Title: Re: Cretain Item for a cretain person
Post by: DeathLock~ on July 12, 2008, 05:44:55 PM
Do you mean the ability to have items that can only be used by a specific classes?
If it is, then I have a script for that.
Title: Re: Cretain Item for a cretain person
Post by: Shadow Eye on July 12, 2008, 05:45:56 PM
I've done something like this through events. If you mean a certain character can learn it, you just set up a common event and teach the skill to the person using change skills, and on the item make sure there is no target. When used, the person will learn the spell.

Or, if you mean what Dr_Lock mentioned, I believe only a script can do it.
Title: Re: Cretain Item for a cretain person
Post by: Doctor Professor Nikolai on July 12, 2008, 10:51:08 PM
What I mean is, say you have a Spell Scroll for a Mage, but you have a mage and a warrior in your party. But when you try to use it on the warrior, it doesn't work. Only the mage can learn the skill.
Title: Re: Cretain Item for a cretain person
Post by: DeathLock~ on July 12, 2008, 11:02:30 PM
The item can only be used by a certain class. Example, as you said about the mage being the only one to use that item, so no one else can use it except a mage class.

If this is what you need, I currently have a script for that exact purpose.
Title: Re: Cretain Item for a cretain person
Post by: Doctor Professor Nikolai on July 12, 2008, 11:31:57 PM
Alrighty.
Title: Re: Cretain Item for a cretain person
Post by: DeathLock~ on July 12, 2008, 11:38:13 PM
This is the link to the text file:
https://www.fanshaweonline.ca/pages/personal/60828/script_item_classes.txt (https://www.fanshaweonline.ca/pages/personal/60828/script_item_classes.txt)

The script was made by Behemoth, please credit him. All instructions for the script is written in the text file. Just add it above 'Main'.