*YAMI's Skill shop

Is there a way to make it so the skill is restricted to one character?

Like if I wanted to sell "Fire" only the first actor can learn it.
I'm thinking...

<Buy Custom Require>$gameActors.actor(6)</Buy Custom Require>
but that doesn't work

<Buy Custom Require>actor(6)</Buy Custom Require>
Nor does that. This may seem easy to other, but I only have a faint understanding of script. I can make basic systems with conditional branches and such, but I dont understand completely the bigger picture.
I don't have a skill shop plugin...
Sorry for disappointing but I'm the one who made that plugin *lol*


You can try this:


actor.actorId() === 6
So much egg on my face... the embarrassment is killing me.

Funny thing is I tried this, but I used the wrong actor id and even though it worked I didn't notice it because the actor wasnt in the party.

:/

Thank you so much for the help and I'm sorry x100 for the mixup. It was the YEP/YED that confused me. I'm so sorry.
RoseofCrimson, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


You can edit your post, then click the Use Full Editor button. That will allow you to change the title 🙂
Sorry. I knew better... I've no excuse for my misconduct.

Original thread: https://forums.rpgmakerweb.com/threads/yamis-skill-shop.49813/