User Tools

Site Tools


damage_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
damage_entity [2017/07/02 15:30] justindamage_entity [2018/03/16 09:44] justin
Line 4: Line 4:
 Deals the specified amount of damage to an entity. The entity is killed/destroyed if its health is reduced to zero. Deals the specified amount of damage to an entity. The entity is killed/destroyed if its health is reduced to zero.
  
 +====Signature:====
 <code python> <code python>
 damage_entity(entity, damage_amount) damage_entity(entity, damage_amount)
Line 13: Line 14:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-You can use the corresponding [[Heal Entity]] function to restore health to an entity that has been previously damaged.+You can use the related [[Heal Entity]] function to restore health to an entity that has been previously damaged.
 </WRAP> </WRAP>
  
damage_entity.txt · Last modified: 2021/04/21 18:58 by justin