Index

SetUnitHealth

SetUnitHealth(<-unit <-amt)

Description

Sets the health of the unit. A standard health amout is 1. The health can not exceed the Max Health, so set max health first if a value greater than 1 is desired.

Examples

SetUnitHealth(self 1)

Index