02-26-2015, 04:42 AM
Well, more accurately (assuming you are using it in a menu and not from a map, either:
or
But if you are working with a map event, so your skill tree shows up because you talked to some map NPC, try either:
or
The actor_index value indicates which member is selected in your party (0 =the first or party leader, 1 = the second, etc....). You would normally just go with the syntax $scene = Scene_SkillTree.new(@status_window.index) within a menu just as you would $scene = Scene_Skill.new(@status_window.index), assuming you this system to a custom menu ... and seeing how @status_window.index is the actor_index.
Code:
$scene = Scene_SkillTree.new( 0 )
Code:
skilltree( 0 )
But if you are working with a map event, so your skill tree shows up because you talked to some map NPC, try either:
Code:
$scene = Scene_SkillTree.new( 0, true )
Code:
skilltree( 0, true )
The actor_index value indicates which member is selected in your party (0 =the first or party leader, 1 = the second, etc....). You would normally just go with the syntax $scene = Scene_SkillTree.new(@status_window.index) within a menu just as you would $scene = Scene_Skill.new(@status_window.index), assuming you this system to a custom menu ... and seeing how @status_window.index is the actor_index.