Schala compatible with common event death?

Schala battle system is really great, probably the best battle system I've seen and I've made my whole game to support it but I realized Yanfly's death common events would allow more unique deaths for say, boss batles and such to break down monotonous nature of the battles. However, Yanfly's Common death battle doesn't seem to work with Schala battle system. What do I need to alter to make them compatible or is there an alternative to Yanfly's that would support Schala?

Schala battle system

https://atelierrgss.wordpress.com/rgss3-schala-battle-system/

Death Common event

https://yanflychannel.wordpress.com/rmvxa/battle-scripts/death-common-event/
Have you tried putting Yanfly's script below the Schala battle system? Otherwise, yeah, this would need a fix, and I'll see if I can do anything for you.
Have you tried putting Yanfly's script below the Schala battle system? Otherwise, yeah, this would need a fix, and I'll see if I can do anything for you.
Yeah, I did try and re organize the scripts. It doesn't work. A fix would be very appreciated.
Not to break your bubble but I thought a switch is activated when a mob dies when using <activate switch> or somethin to that effect to an enemy notetag? I havent tried it out, however, I've seen in on the notetag and read up about it BD

EDIT:

yep, just tried it and it works!

<Active Switch = X>

x = the switch number

In ur common event, use that switch number to activate the common event. Once mob dies, the switch will activate the common event BD
Not to break your bubble but I thought a switch is activated when a mob dies when using <activate switch> or somethin to that effect to an enemy notetag? I havent tried it out, however, I've seen in on the notetag and read up about it BD

EDIT:

yep, just tried it and it works!

<Active Switch = X>

x = the switch number

In ur common event, use that switch number to activate the common event. Once mob dies, the switch will activate the common event BD
But that is when the ENEMY dies. I was looking for when the ACTOR dies.
But that is when the ENEMY dies. I was looking for when the ACTOR dies.
So, u want a common event to run after each death of an actor in the battle phase or u want the common event to run after the battle scene on the actor that died?
So, u want a common event to run after each death of an actor in the battle phase or u want the common event to run after the battle scene on the actor that died?
I only have one actor in combats so I guess the answer is both.
I only have one actor in combats so I guess the answer is both.
A lone ranger hero! LoL XD

I think that might be fairly simple cuz thats just game_actor[1] for a check.

I think I can rig somethin up for that, LoL

EDIT:

Okay, well, I aint no scripter but I think this "Jerry Rig" will do unless someone else comes up with a script solution 😀

#----------------------------------------------------------------------------- # ● Set Base Pose 3980 #----------------------------------------------------------------------------- def set_base_pose return if self.battler == nil if self.battler.hp == 0 $game_temp.reserve_common_event(30) else if self.battler.dead? and $game_temp.battle_phase[0] make_pose("_Hit", 2) else if self.battler.cast_effect[0] > 0 make_pose("_Cast", self.battler.cast_effect[0]) else make_pose(@original_character_name, 0) end end end endLook at line 3980 and replace that method with this one and $game_temp.reserve_common_event(30) with what ever number common event u want to be triggered upon death.

For example:

if you want common event 10 to trigger then replace 30 with 10. Hope that solves ur issue in the meantime BD

EDIT 2:

WHOOOOOPS!!!! Slap myself on the face on that one, LOL

I mean to say if $game_actors[1].hp == 0 and not self lol cuz that could be like anyone including the person that framed "Roger Rabbit"!

So, try this one:

#----------------------------------------------------------------------------- # ● Set Base Pose 3980 #----------------------------------------------------------------------------- def set_base_pose return if self.battler == nil if $game_actors[1].hp == 0 $game_temp.reserve_common_event(30) else if self.battler.dead? and $game_temp.battle_phase[0] make_pose("_Hit", 2) else if self.battler.cast_effect[0] > 0 make_pose("_Cast", self.battler.cast_effect[0]) else make_pose(@original_character_name, 0) end end end endreplace $game_actors[1] to whatever index ur actor is in. Its set to 1 currently! BD
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/schala-compatible-with-common-event-death.44830/