~~NOTOC~~ <=[[4rpl:start| Index]] * [[4rpl:commands:getunithealrate|Get]] * [[4rpl:commands:setunithealrate|Set]] :!: Available in version 1.3 and later. ====== SetUnitHealRate====== SetUnitHealRate(<-unit <-unitHealRate) ===== Description ===== Sets the unit's heal rate. The default heal rate is 0.001. This is how much health is recovered per frame. A negative value will reduce unit health over time rather than healing it. A value of 0 for the heal rate means health will not recover over time. ===== Examples ===== SetUnitHealRate(self 0) <=[[4rpl:start| Index]]