Help - Search - Members - Calendar
Full Version: die in battle, yet continue in the game battle/map event? or a skill that damages a character to one hp
RPG RPG Revolution Forums > Scripting > Event Emporium
Deathrunner
okey, here is my question. in my game, the main character is suppose to fight a powerful enemy at the beginning of the game and lose, but when i have the game continue after the lone main character dies, the game ether ends or it glitches and the character has zero health or something along that line. Or perhaps how do i make a skill that damages a character to one ho? please and thanks for reading and i hope this is placed in the proper place happy.gif
X-M-O
When you create the event, insert an Event Command, go to Tab 3, then to Battle Processing. Select the enemy you want to appear, then check the box where it says "Continue Even When Loser".
This should work.

(Or have you already attempted this and it isn't working as it is supposed to be?)
Deathrunner
QUOTE (X-M-O @ Dec 4 2010, 09:49 PM) *
When you create the event, insert an Event Command, go to Tab 3, then to Battle Processing. Select the enemy you want to appear, then check the box where it says "Continue Even When Loser".
This should work.

(Or have you already attempted this and it isn't working as it is supposed to be?)


yes, i did attempt doing what you said to do, my character has no health after defeated, and when i get done with the rest of the "aftermath" /"talking" after the battle(event ends) the game ends ( game over screen)....its very strange, i know
-dah0rst-
Simple add a "recover-all" event command after the battle when looser. This should work.

For your Skill request, I'll just made this little script:

CODE
class Game_Battler

alias skill_effect_old skill_effect
  
def skill_effect(user, skill)
  skill_effect_old(user, skill)
  $special=[]
  eval(skill.note)
  if $special.include?("Weaken")
    self.hp = 1
  end
end

end


How to use this:
Just type into the note (the box on the bottom right) of a skill this:

$special=["Weaken"]

You can also do other effects with it-
For example, that the enemy looses half HP-

just write add "Half" into the brackets, like:
$special=["Half"] (you can also do more effects at one time, just write them into it divided by a colon)

and add this to the script (before the last end)

if $special.include?("Half") #<-you see the difference?
self.hp /= 2 #that means he divides his hp by 2
end
Deathrunner
thats a amazing little script, and thank you.for the info. biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.