Function CreateDeadDestructableZ

  • Creates the dead version of a destructable at the coordinates ( x , y , z ). 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.

    Parameters

    • objectid: number

      The rawcode of the destructable to be created.

    • x: number

      The x-coordinate of the destructable.

    • y: number

      The y-coordinate of the destructable.

    • z: number

      The z-coordinate of the destructable.

    • face: number

      The facing of the destructable.

    • scale: number

      The X-Y-Z scaling value of the destructable.

    • variation: number

      The integer representing the variation of the destructable to be created.

    Returns Destructable

Generated using TypeDoc