The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: patmi on April 22, 2007, 12:42:06 PM

Title: One time battle
Post by: patmi on April 22, 2007, 12:42:06 PM
Hello,
I have a problem. I am trying to make a boss battle. I want the boss to dissapear, when I win the battle,but I dont want him to apear again when I return to the map that he was in. How could this be done? Can someone please help me?

Thanks
Title: Re: One time battle
Post by: ataraxy2 on April 22, 2007, 01:07:28 PM
Well... you must have it on Erase Event. Instead after winning the battle turn the event's 'Local Switch X' on.  Create a new page - requirements as Local Switch X = ON, make the page empty and as a parallel process with no graphic.

If my memory serves me right, this shall fix a problem that occurs with many things also, like chests.

EDIT: If this solves your problem add [RESOLVED] to the topic title. And I find local switches much easier than normal switches for things like these. As if the game is long enough you'd use up 400 switches of chests!
Title: Re: One time battle
Post by: Alerith on April 22, 2007, 01:08:08 PM
At the end of the event, below "Enemy Encounter: blah blah blah" put this:

>Switch Operation: XXX  (X is the number of the switch)

Then create a new page on that same event where the condition of activation is Switch XXX. Set the graphic to blank and don't put anything else there.

Now after the boss battle, the boss will dissapear from the map.

NOTE: This is not the proper way if you are using a Custom Defeat handler.
Title: Re: One time battle
Post by: Alerith on April 22, 2007, 01:08:48 PM
Dangit ataraxy2, you beat me to it.
Title: Re: One time battle
Post by: patmi on April 22, 2007, 01:33:32 PM
Can u please post screenies?
THANX
Title: Re: One time battle
Post by: Alerith on April 22, 2007, 01:40:09 PM
...

You need screens.

For an event.

For a SIMPLE event...

Tch, this is all yours ataraxy2.
Title: Re: One time battle
Post by: ataraxy2 on April 22, 2007, 01:49:08 PM
:P Um... screens are completely unnecessary. But I can try... (see attachment).

Hope that helps.
Title: Re: One time battle
Post by: patmi on April 22, 2007, 01:55:21 PM
Thanx I figured it out. Can u please help me with recruiting another character?
I already have 4 party members. I wanna replace one of them with the one I am talking with. I wanna the replaced one to be in the same location as I find him/her.
How colud this be done?
Title: Re: One time battle
Post by: ChaosSpartan28 on April 22, 2007, 09:54:54 PM
You mean like:

You: Hi wanna join my party
Him/Her: Yes
??

If so after you talk to them and you finish your message, put a event to add a party member and find the one you want, then make a Local Switch A = on, on the second page leave it blank except for an end event and parallel process.

Make sure you have the character you want in the system jsut not in your party.

Hope this helps.
Title: Re: One time battle
Post by: Zeriab on April 23, 2007, 12:18:11 PM
I have attached a demo showing a common way to manage party member switching.

What you are asking for can be done, but I won't recommend it as I think it is too bothersome to do.
Title: Re: One time battle
Post by: patmi on April 23, 2007, 01:26:02 PM
thanx very much.
Title: Re: One time battle
Post by: Zeriab on April 23, 2007, 06:20:44 PM
Has this been resolved or do you have further questions about how it works?
Title: Re: One time battle
Post by: ChaosSpartan28 on April 23, 2007, 08:44:15 PM
Solved? Add [Resolved] to the topic title.