• Creates a destructable at the coordinates ( x , y ).

    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
    • 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