[Resolved] How to Stop dead enemies from attacking!?

Started by SOTD, December 27, 2011, 07:17:24 pm

Previous topic - Next topic

SOTD

Hey does anybody know why enemies in rpg maker xp would attack even after they died (yes this is a group battle).  Thanks!!!

Ryex

I've moved this to script troubleshooting because I assume you using a script, that the only thing that makes sense to cause this problem. if you NOT please tell me as there would be a very different cause

your using a costume battle yes?

we need to know what one:
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Starrodkirby86

Wahaha, I'm in love with you, Ryex.

As he said, we'd have to know what exactly you're using. Are you using Blizz-ABS, or some other battle system? Please tell us! If you're using the Default Battle System, please tell us that too, and any specifics in regards to that (what exactly happens, really). The only thing I can discern is that your problem happens "in a group battle", which doesn't really tell me much.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




SOTD

I am using the default battle system. This happens in battles with multiple enemies. I also have a ton of add-ons installed but nothing is set that would effect the battle.

Starrodkirby86

I see! So, for the moderators, this should belong in Troubleshooting / Help over in the General RPG Maker board, unless you have some script that's doing something.

So, as I take it, is the only battle-related script that you have inserted into your game Tons of Add-ons? Do you have any other script that might be affecting it? If not, then tell us what exactly happens.

I can't imagine what really is happening, considering that a default battle system with absolutely no modifications (Tons of Add-ons doesn't have any battle effects on) should mean that there'd be no problems occurring. Regardless, I'm going to ask a few questions.

Does it only happen on a particular monster or does it happen with every monster? If it only happens on that one monster, maybe there's something that's making it special. Is there any special thing with the troops you've made?

If it's convenient to you, you can also create a demo and send it to us so we can diagnose the problem at hand. You could also tell us, step by step, what you did that caused this problem.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




SOTD

Okay. Here's what I do.

#1- I make a monster in the enemies category. I then give it the attack and defend option. I also give it one skill-Leg Sweep. I gave attack the 8 rating for the chance of the monster using it. 5 for defense. And then 3 for leg sweep.

#2- I create a troop for the monster that makes me encounter 2 of that same monster for a battle.

#3- I fight the monsters and kill one of them.

#4- After that first monster is dead, the other will attack, if it goes after me. Then, next turn I will receive an attack from the dead monster, either before or after the surviving monster attacks. The "dead" monster will still behave as if it never died and will continue to use its moves until the other monster is killed. Only after the other monster is killed, does the monster truly die and the battle ends.

This applies to any and all monsters in a group of 2 or greater that I create in the Troops menu, regardless of whether they are the same monster or not. Monster set up in #1 is only an example of what happens after I edit a monster for the part of the game I created it for.

Thanks for the help!  :)

Starrodkirby86

So even if you had two different monsters, the dead monster would still attack, right?

Yet this problem doesn't seem to happen on a fresh, new project. It sounds like everything you're doing is routine, so there must be something you've done that enabled this necromancy to happen. I can only imagine there's something in your Scripts going on. This hasn't been happening since the creation of your project, so perhaps in between then you added something that caused this. Before that problem arose, did you add anything to your game that might even be remotely related? :s

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




SOTD

Well now that you mention that, I did have blitz ABS on the game before, but then later removed it on accounts of wtfery. Maybe that is what screwed up with my monsters? Maybe the problem would most likely e in the battle section of the script? Would a demo be more helpful giving insight to this problem?

Starrodkirby86

Yeah, you know what, a demo would probably be more helpful. At least, for this moment. Upload some demo of it and I'll check it out.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).





Starrodkirby86

December 31, 2011, 05:19:30 pm #10 Last Edit: December 31, 2011, 05:21:29 pm by Starrodkirby86
Ah. Should've thought of this earlier.

Go into the Database, and then into States. Check "Regard as HP 0" for the Knockout state.

Yup, now it works. Why it wasn't last time was that when you reached HP 0, the enemy "supposedly died", but it was just the sprite, along with it being unable to be chosen again for attack. But it didn't have the Knock-Out state attached to it (Since you unchecked Regard as HP 0), meaning they're still doing their thing. Remember that the Knock-Out state means one can't move, so when they don't have that state attached... Well, yeah.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




Ryex

LOL! I knew that if this wasn't a script that was likely the problem :P. probably should of pointed that out in my first post. marking as resolved and moving to general troubleshooting.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />