Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: Zerlina on June 04, 2008, 03:47:06 PM
-
Ok...
I'm very very sorry...I have never used the help board this much. I guess battle system just isn't my strong point.
I'm trying to change the facesets when characters get KO'd. I have a common event (which I've attached a screenshot of). I start the trigger switch at the beginning of the game.
I tested a battle, waited for the characters to get knocked out- nothing. I've tried using "death" condition as the positive in the conditional branch. But that didn't work either.
To test if it was the common event, I made the positive condition "Hero is facing up." This time when I started the game (with the hero by default facing down), and I opened the menu, and their faces were all the knocked out versions.
Anyone know what's wrong?
(in case you're confused "sss" is the default faces "injury" is the KOd faces.
-
I'm not sure if this will work better but try to set a variable equal to each characters health. And then make the common event react when the variable changes instead.
I found it a lot easier when I was working on my game(Dom actually hinted me in that direction).
Not sure if it will do any difference though.
-
You might need to put that event into every single battle event page in the game to make it work. I dunno, I haven't used the default battle system in awhile.
-
I think you would need to have it in every page. Lots of copy paste...
it would be worth it for the end result though. good luck
-
Get rid of the trigger switch and make that comment event a "call event"-type (or whatever the translations call it). Then, in each Battle Group, have an event with a precondition of turns[1x], or whatever it's called (with the turn-based conditions, one of the numbers is for a specific turn for the event to occur, and the other number is for at what intervals the event occurs after that. With turn 0 with 1 turn repetitions after that, it happens every turn. It's either that or 0 for both numbers. :/) In that event, call the comment event you have there.
Bleh, I don't think that made much sense, it's mind-vomit as it is. If it still doesn't work, say so and I'll elaborate.
-
make it a common event
set a Variable to the hero's hp then use fork conditions constitnial branch or whatever....
If Var:HP(01) is less than or equal to 0
Then make it change face
Ironically I've already did this for a game
but Your faceset cheange as your hp dropped
or if you were poisioned :hi: