Hey Khas, i've been trying to make a character come back to life and enter an immortal state but have had no luck at the moment.
So the death state i get has turned into a common event that activates when hp drops to 0,
so i tried modifying the common event Kill Switch 3 by adding a conditional branch with an activator that if it is turned on in the map should prevent the character from dying. E.G:
Conditional Branch: Switch [0002:Immortal Mode] == ON
@> Control switch immortal mode ACTIVATE
Else
(the game over script that results in a game over screen)
i basically tell it to turn immortal Mode == on and then on the actual map i have an event with the activator immortal mode activate, which activates when the common event takes place and branches the common event into the immortal state which resists the death state, but death is no longer a state so the character just freezes, like the map and the monster step animation is still going after the character dies, but i think the immortal state that resists death isn't working because death is now a common event, and therefore i have no idea how to make my guy pop back to life as an immortal.
To put it simply, how do i make my dude come back to life after he dies and remain in a state where he cannot be killed until later in the story etc?
edit: So i figured out how to make him immortal but it's really messed up, in-game parallel process:
$game_party.leader.hp == 1
Recover All
This lets me not die in the first place and leaves my hp at a constant 80% (which is weird) - but this isnt what i'm after, i want to die, than say a few words, then animations like light effects etc, than the character revives and is immortal and kills everyone. Very simple task if death was not a common event, but because it is i have no clue how to accomplish this - changing the common event death does not work, changing in-map events to change the common event death doesn't work, having in-game events affects the common event and then cause the desired outcome does not work? any help would be seriously appreciated on this T.T