CreateDeadDestructable
- Parameters
-
objectid integer
The rawcode of the destructable to be created.
x real
The x-coordinate of the destructable.
y real
The y-coordinate of the destructable.
face real
The facing of the destructable.
scale real
The X-Y-Z scaling value of the destructable.
variation integer
The integer representing the variation of the destructable to be created.
- comment
Creates the dead version of a destructable at the coordinates ( x , y ). If the destructable has no animations, it will show the destructable's default form. If it has a death animation, but no decay animation, then the object will be created in memory but will not visibly appear.
- return type
destructable
- Source code
native CreateDeadDestructable takes integer objectid, real x, real y, real face, real scale, integer variation returns destructable
- Source
- common.j
- wc3modding.com
- CreateDeadDestructable