Announcement

Collapse
No announcement yet.

Character Slain Error

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

    Character Slain Error

    Ok, in my game, I am trying to make it so that my character's Model changes to show equipped items (i.e.-gloves, armor, etc.), but when I make a change to the characters model or model color their HP and MP zero out and the next time I activate an event or talk to someone, they die!

    Has anyone encountered this problem before? Any clue why this happens or how to fix it??

    #2
    Re: Character Slain Error

    Does the max hp and mp go to zero or does it just get depleted?

    Comment


      #3
      Character Slain Error-Fixed!

      I'm not sure. I think is just get's depleted. Let me check...

      edit:

      ok, ALL of his stats (ie-HP, MP, STR, DEF, ATTACK, etc.) get zero'd out (all 0's) and his Level goes back to 1 with MAX HP and MAX MP of 1 each....??

      EDIT:

      I fixed the Char Slain issue. The model changes fine now, but I can't get the "New Look" to carry over when I leave and enter a new area (change map). I have tried adding a Model Check to the Enter Map event script using a variable to retain the Model Info, but I can't get it to work. Any ideas?

      EDIT:

      Problem solved! The problem was that I was using variables to keep track of the changes that were made to the character model. For some reason, the variables didn't work. I'm not sure why. So, I tried using Flags instead. It worked without a hitch!

      Oh, as for the "Slain" glitch. In my script, after making the changes to my character, I input a Member>Save Info command. For some reason this was the issue. On a hunch, I changed it to Load Info instead and the problem was solved.
      Last edited by Lonewolf; 11-26-2011, 12:57 PM. Reason: Problem Solved

      Comment


        #4
        Re: Character Slain Error-Fixed!

        Originally posted by Lonewolf View Post
        I'm not sure. I think is just get's depleted. Let me check...

        edit:

        ok, ALL of his stats (ie-HP, MP, STR, DEF, ATTACK, etc.) get zero'd out (all 0's) and his Level goes back to 1 with MAX HP and MAX MP of 1 each....??

        EDIT:

        I fixed the Char Slain issue. The model changes fine now, but I can't get the "New Look" to carry over when I leave and enter a new area (change map). I have tried adding a Model Check to the Enter Map event script using a variable to retain the Model Info, but I can't get it to work. Any ideas?

        EDIT:

        Problem solved! The problem was that I was using variables to keep track of the changes that were made to the character model. For some reason, the variables didn't work. I'm not sure why. So, I tried using Flags instead. It worked without a hitch!

        Oh, as for the "Slain" glitch. In my script, after making the changes to my character, I input a Member>Save Info command. For some reason this was the issue. On a hunch, I changed it to Load Info instead and the problem was solved.
        If you go to World Orginzation LoneWolf you'll see a Script tab where you can enter a system script that activates when ever you Enter a Map. This is a great place to put a Script that keeps track of variables related to your Character's appearance.

        You should be able to load w/e changes you want to your characters through variables here without any glitches. Think of it as the Master Script if you will, that loads before anything else does - so it's great for defining changes to your game as the player progresses through it.
        Last edited by Jeremy; 04-09-2012, 09:51 PM.

        Comment


          #5
          Re: Character Slain Error-Fixed!

          Yeah, I've got it working fine now. You did give me a few ideas though, for utilizing such a "master script"...thanks!

          Comment

          Working...
          X