Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Lufia II Menu + Basic Skill Tree Script, Trying to add a menu option for skill tree, but not sure how start it.
Lydyn
post Feb 20 2012, 11:41 AM
Post #1


Level 8
Group Icon

Group: Revolutionary
Posts: 113
Type: Developer
RM Skill: Intermediate




All right, so here's the deal. I'm using a custom menu script and got to the part where I can add a "Skill Tree" menu option to it (so the menu option appears, but doesn't do anything yet), but I'm lost as to how I'd get the Skill Tree script to fire after confirming the menu option. Using:

CODE
when "SKILL TREE"
Sound.play_decision


This, I added three different things, though none of them work. I've used [module ST_setup], [$scene = ST_setup], [$scene = ST_setup.new], and [start_ST_setup].

Here's the menu script and the two scripts for the Skill Tree.

Menu Script (Just search for "SKILL TREE")

Skill Tree Script 1

Skill Tree Script 2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Edit: Got it to work! I just put this in;


CODE
when "SKILL TREE"
Sound.play_decision
$scene = Scene_SkillTree.new(0)


Apparently, it needed me to define the actor.

This post has been edited by Lydyn: Feb 20 2012, 04:20 PM
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 08:52 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker