Ok, so firstly I am using Yanflys dual job script with sub jobs. What I am trying to do is when an NPC joins my party as a specific class
For example
I am a solider, NPC1 Joins me, she is a Witch
How do make it to where the witch job is now available to any of my characters to switch to?
You will need to provide a link to the script you are using so that people who might be able to help you do not have to go hunting around to find it. Don't post the script here, just give the link.
It really doesnt have anything to do with the script, I just want each of my characters to aquire the ability to use the job of a new character that joins my party. for example I can only be a solider, but when a witch joins the party, both of my characters can now be a soldier or a witch. the script only allows sub classing and such which i know how to use and am not worried about. just need to know what i need to do when the dialog for my npc is done and she joins the party to be able to set it so that at that point both of my characters can swap between those 2 available jobs
Should be a simple basic function within VX Ace itself but i cant figure it out. 😛
But it literally has nothing to do with the script itself.... it should be a basic function to do in ace itself... like, instead of reaching a certain level to unlock a class or have a class spacific character, i want classes to unlock for all characters each time a new npc joins. The script i use for sub classing has nothing to do with this so i dont see how this is script support, im not asking for help with with the script.
I just need to know how to set an event to unlock classes for all characters when someone joins. So instead of just being able to be a soldier, when a witch joins i want to be able to swap between witch or soldier.
If that is impossible without a script, which would be strange for a $70 program... then idk lol... Perhaps i uderstand less of this than i assumed... a lot of work for 1 person whos just starting i suppose
Instead of insisting that the script has nothing to do with what you want you could just post a link to it so that someone could help you.
I had that problem too and I solved it with this code snippet that I wrote. My snippet requires the script you keep calling "unrelated".
Paste this in a new script:
# Requires YEA - Class Systemclass Game_Actor < Game_Battler def unlock_same(target) init_unlocked_classes if @unlocked_classes.nil? @unlocked_classes = $game_actors[target].unlocked_classes end # def end # defclass Game_Interpreter def unlock_group_class(x) @x = x @y = $game_party.all_members.collect {|z| z.id } @y.each {|b| $game_actors.unlock_same(@x)} end # def end # classNow you can use these script calls:
$game_actors[x].unlock_same(y)
This will unlock all the classes actor y has for actor x.
unlock_group_class(x)
This will unlock all classes actor x has for everyone in the party.