Jump to content
Sign in to follow this  
lonequeso

Item only used by a specific class

Recommended Posts

As the title says, I'm trying to figure out how to make an item only work for one specific character class. The item is a magic book.

If you use it on the correct character and they are the correct class, it will unlock a new skill. I want the book to be able to used on any ally so I have the scope set to "One Ally". I need some sort of script call to make the item recognize it is being used on the ally with the correct class. I kinda have an idea of what I need to do. I'm thinking I can make a <script call> in the notes for the class or the item itself. I have no idea how to make the script or set this up.

 

Thanks!

 

Share this post


Link to post
Share on other sites

I would use Common Event Variables, which will store information such as the target's ID in a variable that can be used in a common event (variables are set up in the config)

 

So you would just have your item call a common event, and then set up the common event to check who the item is being used on.

Share this post


Link to post
Share on other sites

Tsukihime, is there anything you don't have a script for?  :) That worked perfectly. That's twice you've helped me. Thanks again!  ^_^

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted