QUOTE (RzrBladeMontage @ Jun 27 2010, 05:01 AM)

I'm working on it, I'm just running into some problems. I got a pretty simple system worked out but if there is only 1 person left and they have autolife on, and they get killed, it's an immediate game over... I'm trying to find a way to bypass the gameover and let the event take effect but I can't find a way to get past the gameover.
If you still need help with Autolife - here's a little script I found (Assuming you don't mind it not being evented =] ) that goes with YEM.
#----------------------------------------------------------------------
# <react effect: autolife x>
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# This causes the battler to automatically recover to x% MaxHP when
# they would otherwise be killed. Change the sub animation in order to use
# a custom revive animation.
#----------------------------------------------------------------------
when /(?:AUTOLIFE|AUTO_LIFE)[ ](\d+)/i
if @added_states.include?(1) or @hp_damage > self.hp
remove_state(effect_state.id)
self.hp = 1
healing = self.maxhp * $1.to_i / 100
value = YEM::BATTLE_ENGINE::POPUP_SETTINGS[:rem_state]
value = sprintf(value, $data_states[1].name)
create_popup(value, "REMSTATE")
@hp_damage = -1 * healing
# Change the 42 to the id of any revive animation you wish to play,
# or to "nil" if you do not wish for any animation to play
@sub_animation_id = 42
end
Hope that helps a bit.