Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Battle Scenario
« previous
next »
Print
Pages: [
1
]
Author
Topic: Battle Scenario (Read 2342 times)
Linkforce
The Original Master of the Mosey
Leader
Posts: 2,330
i love rpgs
Battle Scenario
«
on:
May 22, 2007, 01:21:47 AM »
Okay, so I've got this battle where these two brothers fight. How do I make it where if one of the brothers is beaten, then the other will runaway once is has 50% HP or lower. But only if he is alone. How do I do this? I can't seem to figure it out.
Logged
drenrin2120
Global Moderator
Sage
Posts: 6,101
(No subject)
«
Reply #1 on:
May 22, 2007, 01:51:44 AM »
Make two battle events which trip a switch once either one of the brothers dies. The trigger for this event will be "Brother 1 HP is 0" and "Brother 2 HP is 0". Make it so they each switch ON a different switch. We'll call one "DthBro1" and the other "DthBro2". (Make sure "DthBro1" is set ON by the event triggered by "Brother 1 HP is 0". And obviously "DthBro2" by the event triggered by "Brother 2 HP is 0".) Make two more events, each triggered by having one of the switches and the other brother at Half HP. So it would be like this
---Battle Event Page 3
--Trigger: "DthBro1" ON
--Trigger: Brother 2 50% HP
~and the other page would look something like this~
---Battle Event Page 4
--Trigger: "DthBro2" ON
--Trigger: Brother 1 50% HP
Make both of these events set off another switch, we'll call it "FleeBro". Go back to the Brothers and give them both flee. Make it so they only use flee if "FleeBro" is on. Also, Flee must be set at 100 priority.
Now, I just came up with that and it might not work. There may also be an easier way to do it. But hopefully that will atleast set you on the right track.
EDIT: Just tested it, if you do it right, it should work jsut great.
Logged
Linkforce
The Original Master of the Mosey
Leader
Posts: 2,330
i love rpgs
(No subject)
«
Reply #2 on:
May 22, 2007, 02:18:35 AM »
I tried to implement that into what I need but nothing happened. Se,, I only need it so that a brother flees' only if the other one flees. Like.....if BrotherA dies, then BrotherB runs. But if BrotherB dies first, BrotherA stays and fights.
Logged
drenrin2120
Global Moderator
Sage
Posts: 6,101
(No subject)
«
Reply #3 on:
May 22, 2007, 02:25:30 AM »
Well ok, then try this.
---Battle Event Page 1
--Trigger: BrotherA HP is 0
-Event: Switch on "DthBroA"
---Battle Event Page 2
--Trigger: "DthBroA" ON
--Trigger: Brother B 50% HP
-Event: Switch on "Brother B Escape"
*Just make it so Brother B has the Escape as 100% priority if the switch "Brother B Escape" is on.
Logged
Linkforce
The Original Master of the Mosey
Leader
Posts: 2,330
i love rpgs
(No subject)
«
Reply #4 on:
May 22, 2007, 02:35:58 AM »
Hm.....he did everything but Run.......very odd....
Logged
drenrin2120
Global Moderator
Sage
Posts: 6,101
(No subject)
«
Reply #5 on:
May 22, 2007, 02:55:32 AM »
That's weird, I don't see how it wouldn't work. Is Escape at 100 priority and set so the trigger is "Brother B Escape" ON?
Logged
Linkforce
The Original Master of the Mosey
Leader
Posts: 2,330
i love rpgs
(No subject)
«
Reply #6 on:
May 22, 2007, 02:58:22 AM »
Hmm.....I'm sure I can figure it out. Thanks for your help though dren! I appreciate it.
Logged
drenrin2120
Global Moderator
Sage
Posts: 6,101
(No subject)
«
Reply #7 on:
May 22, 2007, 03:26:06 AM »
No problem, anything I can do.
Logged
Linkforce
The Original Master of the Mosey
Leader
Posts: 2,330
i love rpgs
(No subject)
«
Reply #8 on:
May 22, 2007, 09:07:19 PM »
Well, it ended up working. Lol, the problem was that I didn't let the other brother take his turn to escape. XD *Slaps forehead*
Logged
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Battle Scenario