<- PRPL reference <- Everything Else 2

UnitIsDestroyed

ArgumentsResultNotation
UID destroyed [ int - bool ]

Description

Checks if unit is destroyed. Returns 1 (true) if unit not found.

Examples

#destroy itself if other unit is destroyed
<-otherUID IsDestroyed if
    Self 0 DestroyUnit
endif