So I'm trying to rig it so the item/skill actor selection menu outside of combat (eg. using something from the inventory) closes by itself when you cannot use the action in question. (EX. You ran out of the item, or you ran out of MP, or the skill has Yanfly's cooldown function, etc.)
This bugs me because you'd never know if you ran out of the item in question until you back out + it's more convenient to just leave this selection screen if you can't use the thing, since it removes an extra unnecessary click.
(Plus, I also don't want the selection to pop up for single actor parties or for "only user" scope items/skills.)
Edit: I know for skills it's "this._actor.canUse(x)", but I dunno.
This bugs me because you'd never know if you ran out of the item in question until you back out + it's more convenient to just leave this selection screen if you can't use the thing, since it removes an extra unnecessary click.
(Plus, I also don't want the selection to pop up for single actor parties or for "only user" scope items/skills.)
Edit: I know for skills it's "this._actor.canUse(x)", but I dunno.