Created page with "{{{User:PenguinEncounter/Template:Tag|text=Figura}}" |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
== <code>events.DAMAGE</code>{{User:PenguinEncounter/Template:Tag|upcoming: [[0.1.5]]}} == | |||
Fires when the player takes damage. | |||
<syntaxhighlight lang="lua"> | |||
function events.DAMAGE( --[[ i don't know the implementation :P ]] ) | |||
print "I took damage!!" | |||
end | |||
</syntaxhighlight> |
Revision as of 23:40, 25 September 2024
events.DAMAGE
[upcoming: 0.1.5]
Fires when the player takes damage.
function events.DAMAGE( --[[ i don't know the implementation :P ]] )
print "I took damage!!"
end