This is an old revision of the document!
<- PRPL reference <- Everything Else 2
| Arguments | Result | Notation |
|---|---|---|
| UID, i1 | Unit Destroyed | [ UID, i1 - Result ] |
Destroys the Unit of the UID it receives, and what to play when destroyed.
0 - Nothing
1 - Explosion Effect
i2 = GetIntFromStack(); //mode
i1 = GetIntFromStack(); //UID
Self 0 DestroyUnit //Destroys itself without effects
Self 1 DestroyUnit //Destroys itself while creating an explosion effect