======Revive Character======
----
Revives a defeated character, bringing them back to life with the specified amount of health.
====Signature:====
revive_character(character, heal_amount)
^Argument^Description^Type^Required^
|character|Character that will be revived.|[[Entity]]|Yes|
|heal_amount|Amount of health to restore after being revived.|[[Number]]|Yes|
====Example:====
revive_character(player, player.stat["max_hp"] / 2);
//Results:// The player is brought back to life with half of their maximum health.
Use the **Revive Character** function in your "Player is Defeated" global event script to revive the player character and return them to a house or base.
----
====Editor Node:====
{{:wiki:revive_character_node.png?nolink|}}
====Visual Demo:====
{{:wiki:revive_character_demo.gif?nolink|}}
~~NOTOC~~