User Tools

Site Tools


prpl:unitisdestroyed

<- 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.txt · Last modified: 2017/08/26 13:37 by kajacx