Character/Class exclusive items?

How do you make an item (not a weapon or armor, an item) that only a specific character or class can use?

Thanks!
Place the weapon type in the Class options in the Database.
he said it's NOT a weapon or armor 🙂


You could either have a script do it - in that case it would be able to prevent you from using it on someone.


Or you could do it with common events - have the common event check the actor or class that the item is about to be used on, and only apply the effects if they're the right actor or class. If they're not, and it's a disposable item, you'd then have to give it back to them.


I think a scripting solution would be more elegant, so if you want to go that way, we'll move it over to Script Requests.
Place the weapon type in the Class options in the Database.
Not a weapon or armor, an item
he said it's NOT a weapon or armor 🙂

You would need a script to do that. I'll move this to Script Requests.
Ok, Thank you! 🙂
he said it's NOT a weapon or armor 🙂

You could either have a script do it - in that case it would be able to prevent you from using it on someone.

Or you could do it with common events - have the common event check the actor or class that the item is about to be used on, and only apply the effects if they're the right actor or class. If they're not, and it's a disposable item, you'd then have to give it back to them.

I think a scripting solution would be more elegant, so if you want to go that way, we'll move it over to Script Requests.
Yeah, I feel like getting a Script will go a bit smoother.

If you could move this to Script Requests, that would be great!
You need to explain how an item "that only a specific character or class can use?" will behave from a player's point of view.


When I select the item to use, does it only show the characters that I can use it on?


If it shows all the characters, what happens when you use it on someone that can't use it?


You need to run through all use cases that you will have for your game, as different answers to questions like the two above will significantly change what kind of solution you get.
You need to explain how an item "that only a specific character or class can use?" will behave from a player's point of view.

When I select the item to use, does it only show the characters that I can use it on?

If it shows all the characters, what happens when you use it on someone that can't use it?

You need to run through all use cases that you will have for your game, as different answers to questions like the two above will significantly change what kind of solution you get.
What I'm trying to do is have a disposable throwing item (like a shuriken or smoke bomb) that can only be used in battle by a specific character/class (in this case, the character is a Ninja).
Trianglon, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I'll move this to script requests


So the limitation is on the USER, not the TARGET? Will this apply to any items OUT of battle?
Trianglon, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

I'll move this to script requests

So the limitation is on the USER, not the TARGET? Will this apply to any items OUT of battle?
I'm sorry 🙁

Yeah, i want to apply to items to use during battle. 

Outside of battle, they won't do anything.
customuseconditions1.jpg



http://himeworks.wordpress.com/2013/11/26/custom-use-conditions/
Is this what are you are looking for?

Victor basic module (needed)

http://victorscripts.wordpress.com/rpg-maker-vx-ace/basic-scripts/basic-module/

Victor action effectiveness

http://victorscripts.wordpress.com/rpg-maker-vx-ace/gameplay-scripts/action-effectiveness/
@Megablackdragon31
Actually the Action Effectiveness doesn't do this, it's the Action Restriction script.
Formely both script were one, but i decided to separate them to improve compatibility with other scripts i had
This is exactly what i'm looking for!

Thank you so much!

  🙂
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/character-class-exclusive-items.21861/