07-07-2012, 06:04 AM
The syntax while in the menu:
Normally, it's $scene = Scene_SkillTree.new(actor_index, from_map)
But the 'from map' parameter is defaulted to 'false' so it returns to the main menu when you exit. You only need to add the 'true' parameter if you're using a map event. In other words... just ignore it.
And actor_index, is the index of your actor in your party. '0' for the party leader, 1...2...3 . Just like it uses for Scene_Skill calls.
Code:
$scene = Scene_SkillTree.new(actor_index)
Normally, it's $scene = Scene_SkillTree.new(actor_index, from_map)
But the 'from map' parameter is defaulted to 'false' so it returns to the main menu when you exit. You only need to add the 'true' parameter if you're using a map event. In other words... just ignore it.
And actor_index, is the index of your actor in your party. '0' for the party leader, 1...2...3 . Just like it uses for Scene_Skill calls.