This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Unit Commands
Arguments | Result | Notation |
---|---|---|
Explosion Mode (0,1,2) | n1 – |
Destroys the current unit. WARNING: ENSURE YOU HAVE SAVED THE MAP BEFORE CALLING THIS! This call will destroy the unit and your script along with it. This call pops an int from the stack as an argument and uses that to determine whether to create an explosion. 0 means no explosion, 1 means a small soundless flash, 2 or higher means a full explosion with sound.
example goes here