User Tools

Site Tools


heal_entity

This is an old revision of the document!


Heal Entity


Restores the specified amount of health to an entity.

heal_entity(entity, heal_amount)
ArgumentDescriptionTypeRequired
entityEntity that will be healed.EntityYes
heal_amountAmount of health to restore.DecimalYes

Example:

heal_entity(player, 5)

Results: The player's health is reduced by 2.

Use the Damage Entity function to inflict damage upon the player character as they step onto hazardous tiles or open trapped chests.


Editor Node:

Visual Demo:

heal_entity.1499112853.txt.gz · Last modified: 2017/07/03 13:14 by justin