This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
heal_entity [2018/03/16 09:45] – justin | heal_entity [2021/04/21 18:31] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Restores the specified amount of health to an entity (while not exceeding its maximum health value). | + | Restores the specified amount of health to an [[entity]] (while not exceeding its maximum health value). |
+ | |||
+ | <WRAP center round info 100%> | ||
+ | As healing will have no effect on defeated [[character|characters]], | ||
+ | </ | ||
====Signature: | ====Signature: | ||
Line 10: | Line 14: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |entity|Entity that will be healed.|[[Entity]]|Yes| | + | |entity|[[Entity]] that will be healed.|[[Entity]]|Yes| |
- | |heal_amount|Amount of health to restore.|[[Decimal]]|Yes| | + | |heal_amount|Amount of health to restore.|[[Number]]|Yes| |
====Example: | ====Example: | ||
- | < | + | < |
- | heal_entity(player, | + | heal_entity(player, |
</ | </ | ||
// | // |