Weird bug involving states...

● ARCHIVED · READ-ONLY
Started by celebrus 5 posts View original ↗
  1. Hi everyone!

    Something crazy is going on in my game. It affects every battle. After you kill enemies, they re-emerge momentarily. Plus, if a player guards, they immediately go insane. If I replace my 'States' file with the default one for new projects, the problem goes away. My hunch is that this is because special states are required to be in a certain position. Perhaps K.O. has to be State #001? Maybe Guard has such a requirement as well? I'm not really sure, so help is appreciated!

    Thanks!

    Update: Changing K.O. to 001 solved the re-emergence problem. But guard still makes my guy go crazy.

    Update 2: Yep, Guard has to be 009. So, my new question is: Am I in for any more surprises? Do any other states have assigned seating? That, and can I override it? I arranged my states in a way that made sense to me...
  2. celebrus said:
    Update 2: Yep, Guard has to be 009. So, my new question is: Am I in for any more surprises? Do any other states have assigned seating? That, and can I override it? I arranged my states in a way that made sense to me...
    I haven't seen any issue with the guard state being in spots other than 9. I have guard in spot 14 in one of my projects with no issues. KO DOES have to be in spot 1, though.

    Your issue with guard may be skill side. Skill 2 is the guard skill by default, so you can set that to do whatever you want. Check that the "add state" on this skill is set to the proper state in your database. That's probably the issue you're having. Other than skills 1 and 2 and state 1, no other skills or states should have any "assigned seating".
  3. Guarding is just a skill that cast a state on self for 1 turn. By default, the guard skill is the skill ID2 and the default guard state is the State ID 9.

    You can change the guard state ID, just also change it on the guard skill.

    And there's no other states that are directly tied with default actions, just Defend and K.O.
  4. Thanks guys. Neon Black is right about my skill side mistake for guard. Everything's hunky-dory now. Genius!
  5. :) This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.