Non-lethal battles

Quick background: This project is inspired by WolfQuest, which uses a system where players either scare off strangers or invite a wolf to join their pack.

I'd like to know how to implement something similar using Ace's battle system or events (whichever works better). The problem is implementing randomized reactions. For instance, an NPC wolf might react differently each time you ask them for a truce.

Any help is appreciated.
Tsukihime has a script that removes enemies from battle without killing them.  (effect: banish)

There's also a script by Tsukihime that allows you to talk to your enemies. (enemy talk)

Go to Hime Works to see them.  I won't link, Google will find it easy enough.

I'm sure you can figure out how to apply these to what you're doing.

If you don't want to script this, then you'll have to monotonously create the event in every troop.  Have fun with that.
I have never played the game you mention, so this reply might not be what you are looking for.

On the NPC event, put a command to call up a common event.  In that CE set a control variable switch.  In the operand section, choose Random and then set the number of reactions that you want to have, starting at 0, not 1.  So 3 options would be 0 ~ 2.  Then use conditional branches (unchecking the box which sets handling when conditions do not apply) for each of the numbers.  The conditional branch contains a particular reaction.  Obviously, the more reactions you want, the more conditional branches you will have.

EDIT

ninja'd by Eschaton.

However, you don't have to event everything separately.  If you want to do it in a troop, then just use the event command to call up the common event.  Then copy/paste it into every troop.

If it's NPC's on the map, again, just copy/paste the command to call up the common event.

Learn to love common events.  They are your friends and will save you a ton of time.
This is supposed to be in the battle, right? Why not add the random reactions in the troop battle events? You can set a variable to choose a random value, and based on that value pick out a conditional branch that matches.

Of course, that could get sticky if you want it to be a random reaction to each particular skill used by the player... but I think using ksjp17's idea of common events might break up the monotony so you can really work this out. Plus, you can create several identical battles and alter the possible random reactions through the troop's battle events to throw off the player even more and create a more unpredictable battle scheme. ;P

Good luck, though, whichever way you choose!

**Edit**

Oh, and don't be afraid to use the Label/Jump to Label options. They require a bit more work overall, but help tremendously with organizing large monotonous chains like that. For example, you can make your random variable 1-20, then have

conditional branch variable=1

-jump to label random 1

conditional branch variable=2

-jump to label random2

and so on

==================

Label 1

(random reaction stuff here)

-exit event processing

===================

Label 2

(I think you get it)

-exit event processing

I have found that command to be incredibly helpful at organizing the chaos. Hope this helps!

Original thread: https://forums.rpgmakerweb.com/threads/non-lethal-battles.20075/