User Tools

Site Tools


crpl:docs:destroy

This is an old revision of the document!


Destroy

ArgumentsResultNotation
Explosion Mode (0,1,2) n1 –

Description

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.

Examples

example goes here
crpl/docs/destroy.1358190592.txt.gz · Last modified: 2014/10/01 15:02 (external edit)