User Tools

Site Tools


prpl:unitisdestroyed

This is an old revision of the document!


<- 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
prpl/unitisdestroyed.1503769043.txt.gz · Last modified: 2025/02/14 14:56 (external edit)