Sphjinx

  • Aug 6, 2024
  • Joined Jul 26, 2024
  • New to RPG in a Box, so it's pretty difficult and I still don't understand many things, but I'm learning ever so slowly. It's fun, all things considered.

  • Before the battle just happened when the crate it was in was broken, but I decided to add it where the slime will actually spawn and there’ll be some dialogue from the player character before the fight. Everything plays out just fine, but this error pops up immediately. Yet it still works, the battle happens, and then the aftermath stuff also happens, allowing you to continue to the next place of importance. That’s why it’s so odd. Nothing seems to be really affected, I just want to know how to fix this supposed error.

  • So, this one is odd. I think I may have fixed an issue I asked about before, but now when adding the enemy character, it says that a character with that ID already exists, and I’ve looked everywhere for that. The script spawns it, and I give it the ID in that script, but then I remove it after it is defeated. No clue where the ID could exist elsewhere, since only one should be called “Key Slime.” Any help would be appreciated.

  • Slayer Thank you! I’ve been scratching my head over this for a while now. Thanks for your help here, just like last time!

  • Okay, so from the last post, it leads you to unlock that door you needed the key from the slime for, and inside is a scripted sequence leading to a battle with a human enemy. The issue is that the script is placed at the entrance to the door on the inside of the room, and you remain inside the room after you regain control of movement.

    So after that, you’re stuck inside of that room, with another item used to progress that you get from that enemy, as when trying to leave you have to walk over that tile again and the script/battle happens again.

    Need a way to remove the script after it is first used, but no clue how to do that. Any help is appreciated with both the previous post’s issue and this one. Thank you!

    • So, I’ve been struggling with this error for a while now. It doesn’t seem to affect the gameplay too bad, but I’d like it to stop. I have enemies who are attracted towards the player that can have 1-3 enemies at random from one encounter. This one is kind of inconsistent. Sometimes it happens, then next time I test play it won’t give me that error on that same enemy, but might give it on a different enemy that hadn’t shown it previously. Though there is another instance.

      To get a key to unlock a door, you are required to use a hammer tool to break crates. From them you can get items like bandages or potions, some not containing anything, but a single one that you must find has a slime that upon slaying it gives you the key needed. The battle script is in the same script as the crate breaking for that specific crate, and it shows that error each time without fail.

      Help with both instances would be much appreciated, thank you.

    • Rip, I guess. Still have this error, and it’s happening in other battles too.

    • Had to change it to solved as through my ceaseless experimentation, no tutorials and the like, I managed to solve it and (aside from one I already had that is unrelated) with no errors! Took some tweaking here and there to do it, but I did it.

    • So, I’m trying to make some dialogue which requires removing of characters where they are normally and then adding them back in at the scene of the dialogue, plus I need them to stand still. I can get them to be added in the places I have designated, but they aren’t motionless as I want, so I’ve been trying to figure out how to do that. Tried a number of things, but can’t figure it out. It’s not really a cutscene with dramatics or anything, just dialogue, and I am not able to find any tutorials to help me with that.

      I’ve tried numerous scripting stuffs, most recently the move_area thing and move_direction thing, but in both instances I’m told that they need a “$” at the start, and when adding that, both times have been like “unexpected ‘$move_area/direction.’” So I have no clue. Any help would be much appreciated.

    • I know that this is my second post today, but this time it's less of a "missing thing in tutorial" issue.
      I managed to get a script to play out as I destroy a crate as I wanted to, which starts a battle with an enemy to get the item needed for progression, and it works. I get to do the battle, and when winning I acquire the item in question. But at the beginning of the battle, it pops up this error: "Error in start_battle (Find Key): A battle is already active." I don't quite know what causes it, which, of course, is my reason for this quandary.

      The script does work, and it does what I want to the letter, so I just want to know what may cause this and how to maybe fix it. If anything is needed to know about it, more info, etc., then do feel free to ask. I'll do what I can to provide what is necessary, so thank you.

    • Sphjinx it was actually one of yours, I’m thinking. Same name on the video, so you helped me either way!

    • Slayer thank you, though I didn’t get a notification and figured it out. I was using a tutorial before, but apparently missed a very important detail. Tool ui was all that I needed. Thank you still, though!

      • For my first project, I have the idea as a part of it that to get a specific item that is needed to progress, you must use a hammer to destroy crates to try and find it. Yet I can’t get the animation to play and have the hammer tool interact with them. I’ve been scratching my head over it a bit today, so I thought I’d make my first post to ask how I could get it to work. Very new, only started a few days ago. So, thanks if anyone is able to help.

        • I have this exact same issue at the moment, but I seem to remember that before I made dialogue and a script happen to cause the battle, and I just jumped right into it, it didn't happen. I'm not certain, but I'll change it back to that and test it to make sure. I tried the wait thing, though I've never used it, so maybe I did something wrong as it didn't work. I'm very new.

          Update: Turns out it did happen before the change, must not have walked after testing a battle or something.

          Update Again: Nevermind, I’ve decided that I’ll roll with it. I was looking for a fix, but it’s fine now.