This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
damage_entity [2020/04/23 11:53] – justin | damage_entity [2021/04/21 18:58] (current) – justin | ||
---|---|---|---|
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |entity|Entity that will be damaged.|[[Entity]]|Yes| | + | |entity|[[Entity]] that will be damaged.|[[Entity]]|Yes| |
- | |damage_amount|Amount of damage to deal.|[[Decimal]]|Yes| | + | |damage_amount|Amount of damage to deal.|[[Number]]|Yes| |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 19: | Line 19: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | damage_entity(player, | + | damage_entity(player, |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Damage Entity** function to inflict damage upon the player | + | Use the **Damage Entity** function to inflict damage upon [[character|characters]] |
</ | </ | ||