Editing SetMyHealth
Revision as of 04:27, 6 September 2024 by Habi (talk | contribs) (Created page with "{{Welcome| desc=This function sets the npc's health to the specified value. If the health is set to 0, the npc will commit suicide.| params=<syntaxhighlight lang="lua"> (newHealth)</syntaxhighlight> <poem>::newHealth : An integer value representing the new health level to set.</poem>| example=<source lang="lua"> The following code possibly decrease npc's health by 5 when 'a player goes near it and says "boo" '. The npc also sends chat 'poor me' after decreasing health. f...")
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.