Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Renkai141 on February 18, 2009, 01:29:05 AM

Title: Battle problem
Post by: Renkai141 on February 18, 2009, 01:29:05 AM
okay I'm trying to make wen the battle starts,you can talk while in battle... I'm using RPG maker 2k3 and I'm trying to make the character learn while in battle
any help?
Title: Re: Battle problem
Post by: Prpl_Mage on February 18, 2009, 07:27:20 AM
Kinda like FFX then?

You need to make a skill called talk, and it need to be of the switch type.
DO one for each character.
In the battle where talk is going to be used:
Create a battle event.
Make the condition "If Switch(whatever you named it) is on. You need one switch per hero. To make things easier.
If Hero1's switch is on:
Add face set for the hero.
Add the message of the hero speaking
Add a faceset for the other person
Add the message for the other person.
Give Hero1 whatever bonus he is supposed to get.
Turn of the switch.
[Optionally remove the "talk" skill here if you don't want it to be used more than once.]

For this to actually work:
You need to add the skill "Talk" at some point of the game, before the boss battle or something. Just as an "Add skill command" no message needed for it.
If it's done for a boss battle; make sure that you have a command after the battle to remove the skill from all character:
(<>Skill: Talk- remove Hero1
<>Skill: Talk- remove Hero2
<>Skill: Talk- remove Hero3
ect)

The need for one skill per hero is just to prevent the wrong person from speaking. Can be done in more complexed ways but there's no need for it.
So having 4 characters would leave you with 4 skills and 4 switches.

I hope this was helpful enough.