As I am pretty bad at explaining things, I will try my best. Please let me know if you need additional information.
Using the default settings as an example.
When you hit [ESC] to go into your main menu, you can then select Skills. Once you select Skills you then choose the character and can then choose between the Skill Types of Special and Magic. What I am wanting to do is hide those selections unless you actually know a skill of that skill type.
I ask this as I have several skill types and I do not want the player to have to scroll through all of the skill types that they do not currently possess until they learn a relative skill.
Thanks!
Do you want this just in the main menu, or in the battle menu as well?
I already have it that way in the battle menu, so I just need it in the main menu. I had a custom script written, but forgot to ask for this feature. Sadly, the creator seems to be on hiatus from the boards right now.
Okay, I tried taking everything from Window_ActorCommand, and putting it under Window_SkillCommand, but that did not do the trick. I am going to try your second suggestion. Would you mind if I PM you with the script + my alteration to see if you notice what I did wrong? It's relatively short.
Edit -
Your second suggestion works, but I have one heading that should always be displayed, Learn Skill. Now I just have to figure out how to have that choice displayed all the time.
That is not what I told you to do. I told you to copy the appropriate method under Window_ActorCommand and put it into a new script for the Window_SkillCommand class. Not the whole thing. It will look just like I put above, but the content of the method will be different.
Please don't PM me. I don't have time to provide one-on-one assistance. If you post a link to the script (or put it in pastebin if it's a custom one and provide a link), several people will be able to take a look at it for you.
Yeah, that would work (and in fact was the first approach I took when I was writing it).
If you put that in the same script and it made no difference, it probably indicates that there's another script lower that overwrites it. Do a global search (control+shift+f) for add_skill_commands and see how many times it comes up, and in what scripts.
You could try putting your code BELOW all other custom scripts. But if something else has overwritten it for some purpose, you may be losing the functionality that script added.
Hmm, there are only 3 places. 2 instances inside Window_ActorCommand and the one instance inside my custom script. I am going to experiment a bit with it and see what I can find.
If all else fails, your section suggestion worked, I just need that one header, Learn Skills, to always be displayed.
The script I gave you does exactly what the other script does that you just posted. If there was previously a Learn Skills, that would be from another custom mod.
You said you replaced the whole Window_SkillCommand script ... did you change it back again after it failed to work?
Shaz, I am rather embarrassed to admit this, and owe you an apology for misreading. I misread "If you can't get it working, add this to a new script slot ABOVE your other custom scripts." as "above your custom skill script."
As Yanfly's Learn Skill is the one that draws the Learn Skills, placing it above that corrects it. Thank you so very much and I apologize for misreading.
Awesome - glad you got it working 🙂