Index

SetUnitMaxHealth

SetUnitMaxHealth(<-unit <-amt)

Description

Sets the max health of the unit. A value of 1 is a standard health amt. If health is higher than max health, then the health will be lowered the the value max health is set to.

Examples

SetUnitMaxHealth(self 1)

Index