Announcement

Collapse
No announcement yet.

Learning and Forgetting skills.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Learning and Forgetting skills.

    I've got a problem. In the various bits of coding, it says that I can make a character learn and/or forget skills. But when I tried to make my character learn the "thunder" spell, it didn't happen. Later on, when I tried the reverse of having him forget the spell at the beginning of my test play, that didn't work either.
    I double-checked that the Thunder spell was an ability that could be learned by the character's class, and it was even set to the same level as he was during the coding.

    What did I do wrong?


    "You're dead if you aim only for kids. Adults are only kids grown up, anyway."
    -Walt Disney

    #2
    Re: Learning and Forgetting skills.

    I assume you're using Event Commands right now and not Code, so please write out the body of the Event here that you think should be teaching/removing the spell from your character and I'll analyze it. Also specify the conditions for the Event and whether it is a Common Event. Or are you not using an Event to teach the spell? A screenshot would be fine if you'd rather do it that way.

    I've had no problems with teaching/forgetting spells in the past, except in very advanced applications of it (for which I used code instead of events).


    How Badly Do You Want It? (VX Ace) is now available for download! - no outside software necessary.

    "I live and love in God's peculiar light." - Michelangelo

    Comment


      #3
      Re: Learning and Forgetting skills.

      Here's the one for learning I tried It's a common event, with the trigger set to Action Button:

      Conditional Branch: Variable [ooo2: Item 1] < 1
      Text: Deeth: Hey, it's one of those Crystals we were talking about!
      Set move Route: [Beryl]
      Graphic: "Beryl Sprite', 0,8,0
      Move Right
      Turn Left
      Wait for Move's Completion
      Text: Beryl: Further proof that Elbodin is killing the planet!
      Text: Deeth: Riiiiight. Well, no point in just leaving it here.
      Play ME: '011-Item02', 75, 100
      Change Skills [Deeth] + [Thunder]
      Control Variables: [0002: Item 1] = 1
      Text: Deeth equipped the Crystal and learned Thunder!
      Set Move Route: [Beryl 2]
      Move Left
      Graphic: (None)

      Else

      Branch End


      "You're dead if you aim only for kids. Adults are only kids grown up, anyway."
      -Walt Disney

      Comment


        #4
        Re: Learning and Forgetting skills.

        The setup looks solid, at first glance. I do have a few thoughts, though.

        You said this is a Common Event - are you sure about that? Those cannot have action buttons as triggers. If it IS a common event, try moving the whole code into the map-based event and see if it helps.

        You see all the stuff in the Conditional Branch correctly, but your character doesn't learn the skill, is that correct? I was having some problems last night where NOTHING in a Cond Branch was running (strangely flipping the order solved everything), but it doesn't sound like this is the same thing.

        Make sure the right character is in your party (i.e. there aren't two versions of Deeth in the database or anything like that) and that he's assigned the correct class.

        If that doesn't work, do a test to see if you can find out more information - try making an Auto Event that will occur at the start of the game which runs once and simply teaches Thunder to all of your characters. See what happens there and let me know, and maybe I can help figure out what's happening.
        Last edited by Wavelength; 12-30-2011, 04:28 PM.


        How Badly Do You Want It? (VX Ace) is now available for download! - no outside software necessary.

        "I live and love in God's peculiar light." - Michelangelo

        Comment


          #5
          Re: Learning and Forgetting skills.

          Well, there IS an autorun event at the start of the game, which is what I used to make Deeth FORGET the Thunder skill. But it didn't work.

          EDIT: Le Gasp! As it turns out, I actually DID have a duplicate Deeth, and things got messed up. No idea how that happened. -_-'
          Last edited by Deeth Irteen; 12-30-2011, 04:57 PM.


          "You're dead if you aim only for kids. Adults are only kids grown up, anyway."
          -Walt Disney

          Comment


            #6
            Re: Learning and Forgetting skills.

            Booyah.


            How Badly Do You Want It? (VX Ace) is now available for download! - no outside software necessary.

            "I live and love in God's peculiar light." - Michelangelo

            Comment


              #7
              Re: Learning and Forgetting skills.

              Once final question:

              As you may have guessed, I'm planning to recreate the Materia System I invented. Will characters be able to learn skills that're set to levels higher than their current one via events?


              "You're dead if you aim only for kids. Adults are only kids grown up, anyway."
              -Walt Disney

              Comment


                #8
                Re: Learning and Forgetting skills.

                That's something you should try out for yourself, but I think the answer is yes. In fact, I think you can even teach a character a spell (via events or code) that they are not normally set up to learn at any level.


                How Badly Do You Want It? (VX Ace) is now available for download! - no outside software necessary.

                "I live and love in God's peculiar light." - Michelangelo

                Comment


                  #9
                  Re: Learning and Forgetting skills.

                  Well, wish me luck.


                  "You're dead if you aim only for kids. Adults are only kids grown up, anyway."
                  -Walt Disney

                  Comment

                  Working...
                  X