Sorry for another noob question, but I don't know how to do this. I have a character who can, under certain conditions in battle, run out of skills to use. When this happens, I want to have the Skill command entirely removed for this character. How can I make this happen?
How to remove a battle command from a character?
● ARCHIVED · READ-ONLY
-
-
There are a few other Plugins that can do that as well but I use
It comes with a lot of other nice features. -
There are a few other Plugins that can do that as well but I use
It comes with a lot of other nice features.
Thanks, I had a look at it, but have no idea how to use it. What code do I use to remove a command from a character, and do I, like, activate it through the use of a Plugin Command in a Common Event? -
Your best bet is to ask how to use it either on the plug-in thread, or in the Javascript forums (for the coding). Do you wish to inquire more about how to use the plug-in here? If so we will have to move the thread to the Plug-in Support thread.
-
Your best bet is to ask how to use it either on the plug-in thread, or in the Javascript forums (for the coding). Do you wish to inquire more about how to use the plug-in here? If so we will have to move the thread to the Plug-in Support thread.
Yes, that would be fine. -
Done. You'll be more likely to get answers on how to use this plug-in there.
I've moved this thread to Javascript/Plug-in Support. Please be sure to post your threads in the correct forum next time. Thank you.
You may wish to also post in the thread about the plug-in too, maybe the creator of the plug-in will be able to help as well? -
"run out of skills to use"
How do you do that? Maybe if you can describe more what you wanna do, I could help you.
Here some basic things:
In the class notetag box you can the put the following notetag:
<Battle Commands>
Attack!
Guard
i79-STypes(Skills):1,2,3!
i208-Items
</Battle Commands>
- Attack! //Displays the normal attack. Put a ! behind the command to not show the command if the user can't use it (e.g. sealed attack)
- Guard //Displays the normal guard command
- i79-STypes(Skills):1,2,3! //This is some nice feature. You can add an icon to the command with iX- where X is the icon number. STypes stands for grouping skill types together. In the () you can put a name for the command. And after the : you can put all skilltype ids you wanna group together. Here I added the ! aswell, which will not display the command if all skilltypes, in this case 1,2,3 are sealed.
- i208-Items //Displays the normal items with an icon.
There are several other commands you can add. Just try it out. -
"run out of skills to use"
How do you do that? Maybe if you can describe more what you wanna do, I could help you.
The character in question is a temporarily summoned creature with a number of skills that can only be used once during its lifetime in battle (resets when it's re-summoned). Once it has used all of its skills, its skill list will be empty, so there's no longer a need for the Skill command to be there at that point.
Picture to show what I mean. I need the Skill command there gone after he used up all of his available skills, which I can detect using a switch or variable if needed.
Spoiler
What I tried, based on what I got from your post and the plugin's help file, is to activate the plugin through a Common Event with a Script Command that says this:
Minion <Battle Commands>Skills(Skill)!</Battle Commands>
But it doesn't seem to do anything, so I'm guessing I either wrote it wrong or I placed it in the wrong place or something? -
Why common event? Put in in the notetag box from the class or actor.
-
Why common event? Put in in the notetag box from the class or actor.
Wouldn't that remove it permanently? How do I activate it based on whether a Switch is turned ON? -
No, it will only remove the command if the user can't use any skills. This will happen automatically. Just put the notetag in the notetag box of the class or actor.
-
No, it will only remove the command if the user can't use any skills. This will happen automatically. Just put the notetag in the notetag box of the class or actor.
Complete edit: Okay, I just got a step closer. I did what you said, but now it permanently removes the Skill command from the character, regardless of whether it has skills to use or not:

-
You don't need to put it on both notetags. For the normal attack command to show up you need to put it in the notetag as well.
The thing is that the skills command will only disappear if the skilltypes are sealed, not when the list of skills is empty.
How do you remove the skills after one use? -
You don't need to put it on both notetags. For the normal attack command to show up you need to put it in the notetag as well.
The thing is that the skills command will only disappear if the skilltypes are sealed, not when the list of skills is empty.
How do you remove the skills after one use?
Oh, I see. I've tried placing a state that seals the Skills command, but it still shows up. Tried with Skill!, Skill(Skill)! and Skills(Skill)!, but nothing seems to work. Can you like screenshot an actor page showing how to write how to make it work?
To remove the skills, I have each skill call to its own Common Event that then removes the skill from the character. -
I have made a small Demo project, maybe it helps you. https://www.dropbox.com/s/mfs518kgogp0xiq/Example.zip?dl=0
-
I have made a small Demo project, maybe it helps you. https://www.dropbox.com/s/mfs518kgogp0xiq/Example.zip?dl=0
Thanks for all the effort you went through. I finally got it to work. Man, I feel so dumb when it comes to using plugins, lol. :( -
No problem. :)