CreateCorpse(whichPlayer, unitid, x, y, face): Unit
Creates the corpse of a specific unit for a player at the coordinates ( x , y ).
The unit will die upon spawning and play their decay animation, therefore they
will not necessarily be a corpse immediately after this function call. If the
unit corresponding to the rawcode cannot have a corpse, then the returned value is null.
Creates the corpse of a specific unit for a player at the coordinates ( x , y ). The unit will die upon spawning and play their decay animation, therefore they will not necessarily be a corpse immediately after this function call. If the unit corresponding to the rawcode cannot have a corpse, then the returned value is null.