======Heal Entity====== ---- Restores the specified amount of health to an [[entity]] (while not exceeding its maximum health value). As healing will have no effect on defeated [[character|characters]], you must use [[Revive Character]] in order to bring a defeated [[character]] back to life. ====Signature:==== heal_entity(entity, heal_amount) ^Argument^Description^Type^Required^ |entity|[[Entity]] that will be healed.|[[Entity]]|Yes| |heal_amount|Amount of health to restore.|[[Number]]|Yes| ====Example:==== heal_entity(player, 5); //Results:// Five health points are restored to the player. Use the **Heal Entity** function to restore health to the player when a potion is used or when the player steps into a pool of water with healing capabilities. ---- ====Editor Node:==== {{:wiki:heal_entity_node.png?nolink|}} ====Visual Demo:==== {{:wiki:heal_entity_demo.gif?nolink|}} ~~NOTOC~~