User Tools

Site Tools


heal_entity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
heal_entity [2017/07/03 14:34] justinheal_entity [2018/03/16 09:45] justin
Line 2: Line 2:
 ---- ----
  
-Restores the specified amount of health to an entity (while not exceeding the maximum health value).+Restores the specified amount of health to an entity (while not exceeding its maximum health value).
  
 +====Signature:====
 <code python> <code python>
 heal_entity(entity, heal_amount) heal_entity(entity, heal_amount)
Line 19: Line 20:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Heal Entity** function to restore health to the player when a potion is used or when the player steps into a pool with healing capabilities.+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.
 </WRAP> </WRAP>
  
heal_entity.txt · Last modified: 2021/04/21 18:31 by justin