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 revision Previous revision
Next revision
Previous revision
heal_entity [2020/02/04 10:37]
justin
heal_entity [2020/04/22 17:37] (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%> <WRAP center round info 100%>
-As healing will have no effect on defeated characters, you must use [[Revive Character]] in order to bring a defeated character back to life.+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.
 </​WRAP>​ </​WRAP>​
  
Line 14: 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:​====
-<​code ​python>+<​code ​bauxite>
 heal_entity(player,​ 5) heal_entity(player,​ 5)
 </​code>​ </​code>​
heal_entity.1580841454.txt.gz · Last modified: 2020/02/04 10:37 by justin