<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] ===== UnitIsDestroyed ===== ^Arguments^Result^Notation^ | 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