Support on Emerald's Skill Tree script

Feldschlacht IV

Veteran
Veteran
Joined
Jul 26, 2014
Messages
165
Reaction score
136
First Language
English
Primarily Uses
I need some assistance on Emerald's Skill Tree script.


Is there a way to generate a line of script I can plug into a script call that tells the script that the player already learned a skill, the requirements to learn are thus fulfilled, and doesn't need to put points into it? This may not have much impact at the beginning of the game, but as you can imagine, later in the game when party members come with skills already learned, it just looks sloppy for the skill tree to state that they need x points to learn it, when in fact they already know it.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,635
Reaction score
5,116
First Language
English
Primarily Uses
RMVXA
I have NOT used this script, so maybe someone can give you better help, but I did take a quick look through it and found this method of Game_Actor:


def learn_tree_skill(skill_id)
unless skill_learn?($data_skills[skill_id])
@skills.push(skill_id)
@skills.sort!
end
end



I am wondering if you might be able to call something like $game_actors[8].learn_tree_skill(115) to populate Skill #115 into Actor #8 (in your database)'s repertoire when they first join your party, rather than giving them the skill by default.  That way, I would imagine you could still show the skill in the tree, but it will display as "already learned" even on the first time you view the tree for that actor.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top